Cron won't use msmtpd to send emails in case of failed cronjob
- by Glister
I'm trying to configure a machine so that it will send me an email if one of the cronjobs output something in case of an error.
I'm using Debian Wheezy.
Cron is working normally (without the email functionality).
msmtp is installed and configured. Have already symlinked /usr/{bin|sbin}/sendmail to /usr/bin/msmtpd.
I can send email by using:
…