Ubuntu 15.04
Sponsored Link

Log Analyzer : MailGraph2015/05/25

 
Install Mail Log Analyzer, MailGraph.
[1]
[2] Install MailGraph.
root@mail:~#
apt-get -y install mailgraph rrdtool
root@mail:~#
mkdir /var/www/html/mailgraph

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

root@mail:~#
vi /etc/apache2/sites-available/mailgraph.conf
# create new

<Directory /var/www/html/mailgraph>
    AddHandler cgi-script .cgi .pl
    Options +ExecCGI
    Require ip 127.0.0.1 10.0.0.0/24
</Directory>
root@mail:~#
a2enmod cgid

Enabling module cgid.
To activate the new configuration, you need to run:
  service apache2 restart
root@mail:~#
a2ensite mailgraph

Enabling site mailgraph.
To activate the new configuration, you need to run:
  service apache2 reload

root@mail:~#
systemctl restart apache2

  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