Wednesday, January 31, 2007

mailgrapgh

Hey
Atlast my headache of mail graph not starting up issue is temporarily over with a little weired way to run it with following startment
May be others can stop breaking their head for timebeing, as I have already broken my head so much for this issue and found the rc script of mailgrapgh is the culprit. I hate that port maintainer now ...

So run this on ur freebsd box if you have issue with mailgraph
/usr/local/sbin/mailgraph.pl -l /var/log/maillog -d --daemon-pid=/var/db/mailgraph/mailgraph.pid --daemon-rrd=/var/db/mailgraph --ignore-localhost --rbl-is-spam

Explaination for the above goes like this
-l For specifying the maillog
-d To run in daemon mode
---daemon-pid Specify the pid file
--daemon-rrd Location of rrd files
--ignore-localhost Just ignore the mails from localhost(best suited for situations if run amavis)
--rbl-is-spam Consider RBL reject as spam ( btw adding a rbl has saved the mail server from hell a lot of spams )

No comments: