mail 流量分析軟體
#cd /usr/ports/mail/mailgraph
#chmod 644 /var/log/maillog
啟動mailgraph
#vim /etc/rc.conf
mailgraph_enable="YES"
#/usr/local/etc/rc.d/mailgraph.ph start
在httpd.conf
ScriptAlias /cgi-bin/ "/usr/local/www/cgi-bin/"
<Directory "/usr/local/www/cgi-bin/">
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
</Directory>
然後就去網頁看你mail 的流量吧~
#因為在/etc/newsyslog.conf 每天會把檔案給renew 所以我們把maillog改成644
過一天後他就會變成640了
所以連newsyslog.conf也要改成644