[CentOS] Cron sending to root after changing MAILTO

Richard lists-centos at listmail.innovate.net
Thu Jul 20 10:06:17 UTC 2017



> Date: Thursday, July 20, 2017 09:02:02 +0100
> From: Pete Biggs <pete at biggs.org.uk>
>
> On Wed, 2017-07-19 at 23:31 +0000, Chad Cordero wrote:
>> It’s being rejected before it even reaches the mailbox, so
>> forwarding won’t work.  Crond should really be using the MAILTO
>> variable and it’s not.
>> 
> Have you restarted crond after you made the changes?
> 
> P.

An explicit restart of crond shouldn't be needed as it should
automatically reload the changed file the next minute, e.g.:

 Jul 20 01:44:01 ... crond[1464]: (*system*) RELOAD (/etc/crontab)

but if that's not being logged, then then that might indicate an
issue with crond.





More information about the CentOS mailing list