Re: Mail form cron
On 17-Dec-02, 13:39 (CST), Bob Hilliard <hilliard@debian.org> wrote:
> In woody and sarge, the output of commands executed by cron.daily
> is mailed to root. In sarge , this no longer happens. I used to
> believe this was caused by the --report option cron tab passes to
> run-parts, but looking at the man page for run-parts indicates this is
> not true.
In cron -73, I removed the option to the sendmail command
that requested immediate delivery, as it overrided local
admin options and filtering. However, it does get queued, and
should be delivered "soon" (for most MTAs, immediately). See
http://bugs.debian.org/cgi-bin/bugreport.cgi?archive=no&bug=146224 for
full discussion.
But since that hasn't trickled into sarge yet, it's probably not related
to your problem...
Have you done 'mailq' as root to see if there are undelivered
messages? That would help determine whether the problem was the MTA or
cron/run-parts.
Steve
--
Steve Greenland
The irony is that Bill Gates claims to be making a stable operating
system and Linus Torvalds claims to be trying to take over the
world. -- seen on the net
Reply to: