:: Re: [DNG] Configuring cron and exim…
Inizio della pagina
Delete this message
Reply to this message
Autore: kdibble
Data:  
To: Dng
Oggetto: Re: [DNG] Configuring cron and exim4 to send e-mail after running cronjob
---- On Sun, 15 Nov 2020 01:45:20 -0800 Florian Zieboll via Dng <dng@???> wrote ----


Am 15. November 2020 01:03:05 MEZ schrieb Marc Shapiro via Dng <mailto:dng@lists.dyne.org>:

> 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.

libre grüße,
florian



--

[message sent otg]

_______________________________________________
Dng mailing list
mailto:Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng




msmtp works well for these type of things. 

Beware though as the package includes an apparmor profile which can cause problems

if you don't use the defaults.



Don't ask me how I know this.



Ken