Closed SimonHeimberg closed 4 years ago
does the same line work when you call dma manually from the command line? works here on the latest dma.
Running manually shows the same problems. Some weeks ago, cron did send emails successfully. No idea what changed on my system.
I reinstalled the debian package (in aptitude), and now it works again. Obvously I should have tried this before...
Thank you very much for your support.
fwiw, I also had problems with cron sending mail to local users. Also on Debian.
CRON[13362]: (root) MAIL (mailed 58147 bytes of output but got status 0x0041 from MTA
Same here, after reinstalling the package things seem to be working. Or maybe this is related to the content of the mail? Or intermittent? Will know for sure in two weeks, when the big monthly job runs.
dma-0.13-1+b1
Ok, had this happen again, but only ever with this one cronjob. Now I found dma: bad mail input format
in another log file, so I'm pretty sure I'm running into #18.
i wonder how sendmail deals with this.
In short: Why is the recipient (last argument) not seen in
sendmail -i -FCronDaemon -B8BITMIME -oem simon
?It also fails when running (manually)
sendmail simon
ordma simon
. When I understand the man page correctly, this should work. But it works assendmail aa simon
(sends to simon, ignores unknown user aa) orsendmail simon aa
. Strange. All arrives to me because of `: simon` in /etc/aliases. But why does it need two arguments?*longer: Since some time (no idea since when), cron does not send emails when a job fails. In /var/log/syslog, I see the message:
Aug 26 10:10:01 myComputer CRON[17238]: (simon) MAIL (mailed 74 bytes of output but got status 0x0042 from MTA#012)
In /var/log/mail.err, I see the error messageAug 26 10:10:01 myComputer dma[c0988]: no recipients
I wrapped the call to sendmail (with a shell script) and found out how dma is called, what it gets as input and what it returns. It always fails with error 66. The call is
sendmail -i -FCronDaemon -B8BITMIME -oem simon
. (This also fails when running manualy.) Why is the last argument not seen as a recipient?version (of debian package): 0.11-1+b1