有什麼適合postfix的日誌分析工具(轉)

post0發表於2007-08-11
有什麼適合postfix的日誌分析工具(轉)[@more@]

James S. Seymour用perl寫了一個叫pflogsumm.pl的指令碼,可以到這裡下載:

然後可以在crontab中新增下面的內容:

0 2 * * * /path/to/pflogsumm.pl -d today /var/log/maillog | mail -s "Mail Report" you@somewhere.com

定時把分析報告寄給你

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/8225414/viewspace-945350/,如需轉載,請註明出處,否則將追究法律責任。

相關文章