Lähettäjä: Florian Zieboll Päiväys: Vastaanottaja: dng Aihe: Re: [DNG] Configuring cron and exim4 to send e-mail after running
cronjob
Am 15. November 2020 01:03:05 MEZ schrieb Marc Shapiro via Dng <dng@???>:
> 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.
'msmtp' is a lightweight and simple option for sending messages to remote smtp servers from shell scripts. with a variable (e.g. "$mailcmd") it can be used as drop in replacement for mailx.