Συντάκτης: Marc Shapiro Ημερομηνία: Προς: dng Αντικείμενο: [DNG] Configuring cron and exim4 to send e-mail after running
cronjob
I use Thunderbird for e-mail, so I have never bothered with configuring
an MTA.
I have a few lines in root's crontab to do periodic backups and I would
like to receive an e-mail when the job is completed. I have added a
MAILTO line to my crontab with my gmail address. The job runs, the
backup is created, but I do not receive any e-mail from cron. I am
assuming that I need to run dpkg-reconfigure on exim4-config, but I
don't want to mess up my e-mail that is going through Thunderbird.
Can anyone tell me how to configure exim4-config to do this, or provide
a link that will rpovide this information?