In the logwatch main configuration file (/etc/logwatch/conf/logwatch.conf) on Debian, change the following:
- comment out the sendmail line
- add a line to use our custom mailgun mailer script
# mailer = "/usr/sbin/sendmail -t"
mailer = "/usr/local/sbin/mailgun"
/etc/cron.daily/00logwatch
The mailgun shell script can be (literally) checked out here [2].
- http://blog.thinkingcapstudios.net/2012/07/installing-lemonstand-on-ubuntu-part-2/
- https://gist.github.com/tonejito/1a50b4d8b181393ebf77
-- = ^ . ^ =
No comments:
Post a Comment