参考http://jiangli.easymorse.com/?p=1228

http://www.mysqlops.com/2011/11/02/logwatch%E7%9A%84%E9%85%8D%E7%BD%AE%E4%B8%8E%E4%BD%BF%E7%94%A8.html

logwatch的邮件是放在

/var/spool/mail

配置是在sudo nano /usr/share/logwatch/default.conf/logwatch.conf

 

 

测试中163的邮件没有收到,QQ的成功收到。

 

/usr/share/logwatch/scripts# perl logwatch.pl