Jump to content

Mailgraph

From MattWiki

Download, Install, & Configuring Mailgraph[edit | edit source]

Note: This Page was written with Fedora 10 in mind, and may not work correctly with other versions or distributions.

Downloading Mailgraph[edit | edit source]

First start by downloading the latest version from http://mailgraph.schweikert.ch/pub/, then untar it and change directory into the new folder.

wget http://mailgraph.schweikert.ch/pub/mailgraph-1.14.tar.gz
tar -xzf mailgraph-1.14.tar.gz
cd mailgraph-1.14

Installing Mailgraph[edit | edit source]

cp -f mailgraph.pl /usr/local/bin/
cp -f mailgraph-init /etc/init.d/mailgraph
chmod 755 /etc/init.d/mailgraph
chown 0:0 /etc/init.d/mailgraph
/sbin/chkconfig --add mailgraph
/sbin/chkconfig mailgraph on

Depending on your configuration, you need to copy the mailgraph.cgi to your web directory.

cp mailgraph.cgi /var/www/lighttpd/
cp mailgraph.cgi /var/www/cgi-bin/

Configuring Mailgraph[edit | edit source]

Now you will need to modify the /etc/init.d/mailgraph to tell it where you plan on storing your RRD files and if you wish to see local traffic.