Scientific Linux 6
Sponsored Link

Mail Log Analyzer - MailGraph
2011/03/20
  Install maillog analyzer MailGraph. Web Server is also necessarry to be installed.

[1] Install MailGraph
[root@mail ~]#
yum --enablerepo=epel -y install mailgraph
 
# install from EPEL


[root@mail ~]#
vi /etc/httpd/conf.d/mailgraph.conf


Alias /mailgraph /usr/share/mailgraph

AddHandler cgi-script .cgi

<Directory /usr/share/mailgraph/>
   AllowOverride None
   Options +ExecCGI
   DirectoryIndex mailgraph.cgi

   Order Deny,Allow
   Deny from all
   Allow from 127.0.0.1
10.0.0.0/24
# IP address you allow

</Directory>

[root@mail ~]#
/etc/rc.d/init.d/mailgraph start

Starting mailgraph:
[  OK  ]

[root@mail ~]#
/etc/rc.d/init.d/httpd restart

Stopping httpd:
[  OK  ]

Starting httpd:
[  OK  ]

[root@mail ~]#
chkconfig mailgraph on
[2] Access to 'http://(your server's name or IP address)/mailgraph/' with web browser. Then following screen is shown and it's possible to make sure mail log summary.
Matched Content