Both Vixie-cron and dcron
use the MTA at hardcoded location /usr/sbin/sendmail
1. Make sure this points to esmtp
.
Also, you may need to configure the relay destination system-wide, in /etc/esmtprc
, in order to receive output from system cronjobs (/etc/crontab
and /etc/cron.*/
). This is not necessary if you only use your own crontab.
1 (Some other programs may be using /usr/lib/sendmail
.)