View Single Post
  #1  
Old 27th December 2007, 00:31
MTvermoes MTvermoes is offline
Junior Member
 
Join Date: Dec 2007
Posts: 17
Thanks: 1
Thanked 10 Times in 5 Posts
Default rrdtool,mailgraph,queuegraph (the easy way)

(Updated attachment 3.Jan.2008)
This is testet on CentOS 5.1 with ISPConfig(stable)+Perfect Setup+dovecot

attached script will install RRDtool +all needed libs with --prefix=/usr
mailgraph.cgi and queuegraph.cgi will be installed in /root/ispconfig/standard_cgis/cgi-bin/
mods to detect spam and virus in maillog are made to
/root/ispconfig/isp/conf/customized_templates/spamassassin.rc.master
/root/ispconfig/isp/conf/spamassassin.rc.master
and
/root/ispconfig/isp/conf/customized_templates/antivirus.rc.master
/root/ispconfig/isp/conf/antivirus.rc.master

Before you start :
Make sure that File::Tail is installed

perl -MCPAN -e shell
install File::Tail
exit

unpack attached file :
cd /usr/src
tar xvzf rmqinstall.tar.gz
cd rmqinstall
/bin/sh setup.sh

You will need to update users spamconf (check this link for info on howto)

You will allso need to copy mailgraph.cgi and queuegraph.cgi to existing websites cgi-bin

queuegraph.cgi will only be usefull if you are running a non Maildir queue
Attached Files
File Type: gz rmqinstall.tar.gz (2.2 KB, 473 views)

Last edited by MTvermoes; 3rd January 2008 at 18:05.
Reply With Quote
Sponsored Links