recommended way to collect email notifications from crond in Arch Linux

Posted by nponeccop on Server Fault See other posts from Server Fault or by nponeccop
Published on 2011-09-15T13:24:54Z Indexed on 2012/03/31 17:33 UTC
Read the original article Hit count: 248

Filed under:
|
|
|

Arch Linux doesn't have sendmail installed by default. So I get the following messages in my syslog:

Sep 15 13:16:01 zorro crond[18497]: mailing cron output for user collectors sh cronjob.sh
Sep 15 13:16:01 zorro crond[18497]: unable to exec /usr/sbin/sendmail: cron output for user collectors sh cronjob.sh to /dev/null

What is the recommended way to fix this default behaviour so actual messages are sent?

heirloom-mailx is installed and capable of sending email messages using SMTP. Is it possible for crond to use mailx to send notifications?

Is there any drop-in replacement for sendmail that sends using mailx? Sendmail is not even in the repositories.

© Server Fault or respective owner

Related posts about cron

Related posts about sendmail