Mailgraph Installation

Step 1

[root@localhost ~]# yum install rrdtool
[root@localhost ~]# yum install perl-File-Tail.noarch

Install dependency packages rrdtool and perl-File-Tail,
if it is failed by yum , you can find in

Step 2

[root@localhost ~]# wget
[root@localhost ~]# tar -zxvf mailgraph-1.14.tar.gz

wget the mailgraph tar file from official website and extract the tar file

[root@localhost ~]# cp /usr/local/bin/
[root@localhost ~]# cp mailgraph.cgi /var/www/cgi-bin/
[root@localhost ~]# cp mailgraph-init /etc/init.d/
[root@localhost ~]# chmod 755 /var/www/cgi-bin/mailgraph.cgi
[root@localhost ~]# chmod 755 /etc/init.d/mailgraph-init

Copy the files after you extract the tar file

Step 3

[root@localhost ~]# vi /etc/init.d/mailgraph-init


Edit mailgraph-init for MAIL_LOG path

[root@localhost ~]# vi /var/www/cgi-bin/mailgraph.cgi

$rrd = '/var/lib/mailgraph.rrd';
$rrd_virus = '/var/lib/mailgraph_virus.rrd';

Edit the mailgraph.cgi to set the database path of mailgraph.rrd and mailgraph_virus.rrd

Step 4

[root@localhost ~]# /etc/init.d/mailgraph-init start
[root@localhost ~]# chkconfig mailgraph-init on

Start mailgraph-init service and make it auto start after reboot

At last, try your effort for mailgraph analyst:

Server is hosted by Alanstudio
Linux Operating System

Recommend screen resolution 1024 x 768 / IE / FireFox
Alan Studio © 2007 by Alan Cheung Hin Lun. All rights reserved.