Last Updated: February 25, 2016
·
3.379K
· luisuribe

Send logwatch emails through msmtp

$ cat /usr/share/logwatch/dist.conf/logwatch.conf
mailer = "/usr/bin/msmtp recipient@mail.com"
TmpDir = /tmp
MailFrom = sender@mail.com

We assume that msmtp is configured and functional.