参考http://jiangli.easymorse.com/?p=1228
logwatch的邮件是放在
/var/spool/mail
配置是在sudo nano /usr/share/logwatch/default.conf/logwatch.conf
sudo logwatch –mailto jiangli@witmob.com
测试中163的邮件没有收到,QQ的成功收到。
/usr/share/logwatch/scripts# perl logwatch.pl