티스토리 뷰

Debian 6 MAIL Server Mail Log Analyzer - MailGraph


Mail Log Analyzer - MailGraph


1. Install maillog analyzer MailGraph. Web Server is also necessarry to be installed.


root@mail:~# aptitude -y install mailgraph rrdtool 


root@mail:~# mkdir /var/www/mailgraph 

root@mail:~# cp -p /usr/lib/cgi-bin/mailgraph.cgi /var/www/mailgraph 

root@mail:~# vi /etc/apache2/conf.d/mailgraph.conf 


# create new

<Location /mailgraph>

Options ExecCGI

Order Deny,Allow

Deny from all

Allow from 127.0.0.1 10.0.0.0/24# IP address you allow

</Location>


root@mail:~# /etc/init.d/apache2 restart 

Restarting web server: apache2 ... waiting .



  Access to 'http://(your server's name or IP address)/mailgraph/mailgraph.cgi' with web browser. Then following screen is shown and it's possible to make sure mail log summary.



저작자 표시 비영리 변경 금지
신고
댓글