Debian 9 Stretch
Sponsored Link

Mail Log Report : MailGraph
2017/06/26
 
Install Mail Log reporting tool with graphs, it's MailGraph.
[1]
[2] Install MailGraph.
root@mail:~#
apt -y install mailgraph rrdtool
root@mail:~#
vi /etc/apache2/sites-available/mailgraph.conf
# create new

Alias /mailgraph /usr/share/mailgraph
<Directory /usr/share/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
 
Tweet