Skip to content

Logwatch

Order of configs:

/usr/share/logwatch/default.conf/...
/usr/share/logwatch/dist.conf/...
/etc/logwatch/conf/...

Sending to few email addresses when using link /usr/bin/sendmail => ssmtp

# /etc/logwatch/conf/logwatch.conf
MailTo = [email protected] [email protected]

Change mailer:

mailer = "/usr/bin/mail root -s Logwatch Host"

Cons - Logwatch emails arrive with headers in the email body