Fedora 12
Sponsored Link

Log Analyzer - Mailgraph2010/06/13

  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
# IP address you allow


[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