CentOS 6
Sponsored Link

Mail Log Reports - MailGraph2014/08/22

 
Install MailGraph which is the Postfix Log reporting tool.
[1]
[2] Install MailGraph.
# install from EPEL

[root@mail ~]#
yum --enablerepo=epel -y install mailgraph
[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
# add IP address you permit to access

</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
[3] Access to 'http://(your server's name or IP address)/mailgraph/' with web browser on clients. Then following screen is shown and it's possible to make sure mail log summary.
Matched Content