CentOS 5
Sponsored Link

Mail Log Analizer - MailGraph2015/01/19

 
Install maillog analyzer MailGraph. Web Server is also needed.
[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