[CentOS] Cron sending to root after changing MAILTO

Thu Jul 20 02:14:48 UTC 2017
Ian Mortimer <i.mortimer at uq.edu.au>

On Wed, 2017-07-19 at 23:31 +0000, Chad Cordero wrote:

> It’s being rejected before it even reaches the mailbox

Is it rejected because of the recipient address or the sender address? 
In your log message, I noticed this sender address:

   from=<root at csusb.edu>

In case your mail server is rejecting it because of the sender address
you can do this: create a file /etc/postfix/sender_canonical with
contents like:

   root	_valid_sender_address_

Then run:

   postmap /etc/postfix/sender_canonical