Ubuntu 18.04
Sponsored Link

Mail Log Report : MailGraph
2018/05/12
 
Install MailGraph to show Mail Log report with Graphs.
[1]
[2] Install MailGraph.
root@mail:~#
apt -y install mailgraph rrdtool
root@mail:~#
vi /etc/apache2/sites-available/mailgraph.conf
# create new

# replace [10.0.0.0/24] to your own internal network

Alias /mailgraph /usr/share/mailgraph
<Directory /usr/share/mailgraph>
    Options +FollowSymLinks +ExecCGI
    AddHandler cgi-script .cgi
    Require local
    Require ip 10.0.0.0/24
</Directory>

root@mail:~#
a2enmod cgid

Enabling module cgid.
To activate the new configuration, you need to run:
  systemctl restart apache2

root@mail:~#
a2ensite mailgraph

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

root@mail:~#
systemctl restart apache2 mailgraph

[3] Access to [http://(hostname or IP address)/mailgraph/mailgraph.cgi] with Web Browser on a Client Computer, then MailGraph index site is shown and it's possible to Mail statics.
Matched Content
 
Tweet