发表于:2013-5-10 浏览:134 作者: 来源:互联网
关键字:postfix,mailgraph,ubuntu
描述:1.apt-get install mailgraph rrdtool2. Edit /etc/default/mailgraph and change MAIL_LOG to be MAIL_LOG=/var/log/mail.log3. Copy 
1. apt-get install mailgraph rrdtool
2. Edit /etc/default/mailgraph and change MAIL_LOG to be MAIL_LOG=/var/log/mail.log
3. Copy mailgraph.cgi to /usr/lib/cgi-bin/mailgraph.cgi
4.change /var/lib/mailgraph/ owen apache run user
chown www-data:www-data *
5. /etc/init.d/mailgraph restart
6. http://serverip/cgi-bin/mailgraph.cgi