Debian 7.0
Sponsored Link

Log Analyzer - MailGraph2013/05/11

 
Install maillog analyzer MailGraph. Web Server is also necessarry to be installed.
[1] Install MailGraph
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>
    AddHandler cgi-script .cgi .pl
    Options ExecCGI
    Order Deny,Allow
    Deny from all
    Allow from 127.0.0.1 10.0.0.0/24
# IP address you permit

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

* Restarting web server apache2
... waiting . ...done.
  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.
Matched Content