-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cron fails to send email #88
Comments
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.
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 |
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 as
sendmail 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 message
Aug 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
The text was updated successfully, but these errors were encountered: