Cron mails from root@localhost

Posted by ads on Friday, 2007-09-07
Posted in [Software]

If your cron keeps sending mails from root@localhost (which is bad, if the mails are forwarded to another system), check your mailserver settings. In Postfix, your $myhostname setting should point to an existing and valid domainname.

If you are using cron-apt on Debian/Ubuntu, don’t forget to install the mailx package.


Categories: [Software]

Share: