Strange Transmission email report (thousands)

kikkegek
Posts: 341
Joined: Sun Jul 31, 2011 9:28 am

Strange Transmission email report (thousands)

Postby kikkegek » Tue Nov 22, 2011 11:21 am

hi guys,

I have been getting thousands of these Transmission email reports.

whats going on?

Code: Select all

This is the mail system at host amahi.thuiz.com. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to postmaster. If you do so, please include this problem report. You can delete your own text from the attached returned message. The mail system <transmission@amahi.thuiz.com>: cannot update mailbox /var/mail/transmission for user transmission. error writing message: File too large Reporting-MTA: dns; amahi.thuiz.com X-Postfix-Queue-ID: CBC2743539 X-Postfix-Sender: rfc822; root@amahi.thuiz.com Arrival-Date: Mon, 31 Oct 2011 16:24:06 +0100 (CET) Final-Recipient: rfc822; transmission@amahi.thuiz.com Original-Recipient: rfc822;transmission Action: failed Status: 5.2.2 Diagnostic-Code: x-unix; input/output error Return-Path: <root@amahi.thuiz.com> Received: from localhost (unknown [127.0.0.1]) by amahi.thuiz.com (Postfix) with ESMTP id CBC2743539 for <transmission@amahi.thuiz.com>; Mon, 31 Oct 2011 15:24:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at localhost Received: from amahi.thuiz.com ([127.0.0.1]) by localhost (amahi.thuiz.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k9XizmAaH1Rk for <transmission@amahi.thuiz.com>; Mon, 31 Oct 2011 16:24:02 +0100 (CET) Received: by amahi.thuiz.com (Postfix, from userid 492) id 061D44353A; Mon, 31 Oct 2011 16:24:01 +0100 (CET) From: root@amahi.thuiz.com (Cron Daemon) To: transmission@amahi.thuiz.com Subject: Cron <transmission@amahi> transmission-remote localhost:9091 -a /var/hda/files/torrents/*.torrent && rm -f /var/hda/files/torrents/*.torrent Content-Type: text/plain; charset=UTF-8 Auto-Submitted: auto-generated X-Cron-Env: <SHELL=/bin/sh> X-Cron-Env: <HOME=/var/lib/transmission> X-Cron-Env: <PATH=/usr/bin:/bin> X-Cron-Env: <LOGNAME=transmission> X-Cron-Env: <USER=transmission> Message-Id: <20111031152402.061D44353A@amahi.thuiz.com> Date: Mon, 31 Oct 2011 16:24:01 +0100 (CET) localhost:9091 responded: "invalid or corrupt torrent file"

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Strange Transmission email report (thousands)

Postby bigfoot65 » Tue Nov 22, 2011 12:34 pm

Can't say I have ever heard of anyone with this problem. Did you check the logs? Is there a mail server installed here?
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

kikkegek
Posts: 341
Joined: Sun Jul 31, 2011 9:28 am

Re: Strange Transmission email report (thousands)

Postby kikkegek » Tue Nov 22, 2011 2:06 pm

Can't say I have ever heard of anyone with this problem. Did you check the logs? Is there a mail server installed here?
yes, got AMS and RCMAIL installed.

No havent checked the logs...I was hoping somebody good make some sense from this message for me?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Strange Transmission email report (thousands)

Postby bigfoot65 » Tue Nov 22, 2011 3:58 pm

Part of it looks like its trying to send mail to a transmission user mailbox. It would not exist. You might be able to update the transmission settings to send mail to your user or update the aliases file. The wiki gives guidance on that part.

The other part mentions a corrupt torrent file. Maybe there is one that needs removed. You should look at the logs as well.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

kikkegek
Posts: 341
Joined: Sun Jul 31, 2011 9:28 am

Re: Strange Transmission email report (thousands)

Postby kikkegek » Fri Jan 13, 2012 1:52 am

hi guyes,

I have uploaded the maillog, can you help me analyse it?
maillog.txt
(109.39 KiB) Downloaded 196 times

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Strange Transmission email report (thousands)

Postby bigfoot65 » Fri Jan 13, 2012 5:58 am

Analyzing the log does not yield many clues as it shows is there is mail being sent to a user who does not exist. One thing I did notice is it appears that your Postfix may not be properly set up. I do not see those errors on mine about certificate issue and TLS being disabled. If you installed AMS, you might want to check your install log to see if there are any errors. If you modified anything, that could be causing that issue as well.

Did you check the Transmission settings for a mail option? I am sure there probably is one in there that is causing this issue. You can then turn it off or change the send to portion. If you don't find it in the web GUI, might check the desktop GUI for it. Also google might yield some assistance.

Is there a Transmission user? If not, you could easily create one separate from Amahi from command line that would be a system user only. That would at least allow the mail to get there and you can do an alias to forward the email to root or whomever you choose. The wiki has guidance for that setup.

http://wiki.amahi.org/index.php/Forward_System_Emails

Hope this helps.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

kikkegek
Posts: 341
Joined: Sun Jul 31, 2011 9:28 am

Re: Strange Transmission email report (thousands)

Postby kikkegek » Fri Jan 13, 2012 6:24 am

hi Bigfoot,

thanks for the reply.

there is s transmission user, that is used to run the deamon:
transmission_user.png
transmission_user.png (155.83 KiB) Viewed 4080 times
I can not find any email setting for transmission...
https://trac.transmissionbt.com/wiki/EditConfigFiles

GRRRRrrrr.....why? hahahaha

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Strange Transmission email report (thousands)

Postby bigfoot65 » Fri Jan 13, 2012 7:07 am

Wonder if this is part of the install?

https://trac.transmissionbt.com/ticket/3869

Worth checking that and for a cron job that might be executing a script. Found this as well that might help narrow down the search for a solution.

https://trac.transmissionbt.com/wiki/Scripts
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

kikkegek
Posts: 341
Joined: Sun Jul 31, 2011 9:28 am

Re: Strange Transmission email report (thousands)

Postby kikkegek » Fri Jan 13, 2012 7:44 am

I have now narrowed it down to the CRON job returning an error and I think it is trying to sent an email for that?

the sender would be "transmission" because that is the user running the cronjob.

this cronjob "amahi-transmission-watch" looks like this:

Code: Select all

# watch for torrent files in the torrents directory */2 * * * * transmission transmission-remote localhost:9091 -a /var/hda/files/torrents/torrents/*.torrent && rm -f /var/hda/files/torrents/torrents/*.torrent amahi-transmission-watch (END)
this folder has no files. there is only a torrent file there when I start a download. I will then download the torrent file there, transmission (through cronjob) will pick it up, start the download and remove the torrent.

So I think I am getting all these errors every 2 minutes, because the folder is empty.

how can I stop this cronjob from reporting errors, since an empty folder is not a error...not for me anyway...

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Strange Transmission email report (thousands)

Postby bigfoot65 » Fri Jan 13, 2012 8:01 am

Try removing the amahi-transmission-watch from the job. Another thing you could do is try to find that script and see if you can change settings there.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 32 guests