FS#4961 - crond does not send mail
Attached to Project:
Arch Linux
Opened by Pierre Schmitz (Pierre) - Tuesday, 04 July 2006, 22:15 GMT
Last edited by Roman Kyrylych (Romashka) - Sunday, 09 September 2007, 10:35 GMT
Opened by Pierre Schmitz (Pierre) - Tuesday, 04 July 2006, 22:15 GMT
Last edited by Roman Kyrylych (Romashka) - Sunday, 09 September 2007, 10:35 GMT
|
Details
The crond-daemon is not able to send the cron-output via
mail because it wants to use /usr/sbin/sendmail. But
sendmail (using courier-mta) could be found under:
/usr/bin/sendmail
|
This task depends upon
Comment by
Roman Kyrylych (Romashka) - Saturday,
14 April 2007, 16:38 GMT
very similar to
http://bugs.archlinux.org/task/5397
Comment by Dale Blount (dale) -
Saturday, 14 April 2007, 17:55 GMT
Which crond daemon are you using? I wasn't aware that dcron sent
mail at all...
Comment by Pierre Schmitz (Pierre) -
Sunday, 15 April 2007, 10:34 GMT
I was using dcron and yes it is able to send mail. ;-) This bug is
quite old and I think this bug is fixed.
Comment by Dale Blount (dale) -
Monday, 16 April 2007, 18:14 GMT
Tobias, part of this bug stems from courier's sendmail not being
in /usr/sbin like it is with the other MTAs.
Comment by Tobias Kieslich (tobias) -
Monday, 16 April 2007, 19:10 GMT
... which IIRC is pretty hard to change since courier has a *very*
special layout, which first of all is very RH specific and
secondly is pretty hard to change. I don't promise anything on
this one.
Comment by Dale Blount (dale) -
Tuesday, 17 April 2007, 15:15 GMT
How about just a symlink then? Most perl CGIs, php, etc expect
sendmail in /usr/sbin nowadays.
Comment by Tobias Kieslich (tobias) -
Tuesday, 17 April 2007, 18:34 GMT
I should try that, but I will have to get a closer look the layout
in general