Fedora 13
Sponsored Link

Mail Log Analizer - MailGraph2010/06/02

  Install MailGraph to analyze maillog. Web Server is also required to installed.

[1] Install MailGraph
[root@mail ~]#
yum -y install mailgraph


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


#
# Mailgraph: An postfix/sendmail log file analyzer
#
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 hostname or IP address)/mailgraph/mailgraph.cgi', then following screen is shown.
 
Matched Content