MailLog Report : MailGraph2016/06/01 |
Install Mail Log reporting tool with graphs, it's MailGraph.
|
|
[1] | |
[2] | Install MailGraph. |
root@mail:~#
root@mail:~# apt-get -y install mailgraph rrdtool 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> a2enmod cgid Enabling module cgid. To activate the new configuration, you need to run: service apache2 restartroot@mail:~# a2ensite mailgraph Enabling site mailgraph. To activate the new configuration, you need to run: service apache2 reloadroot@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. |
Sponsored Link |