mailgraph-1.9 ebuild request Project description: Mailgraph is a very simple mail statistics RRDtool frontend for Postfix that produces daily, weekly, monthly, and yearly graphs of received/sent and bounced/rejected mail. http://people.ee.ethz.ch/~dws/software/mailgraph/
ups latest is: http://people.ee.ethz.ch/~dws/software/mailgraph/pub/mailgraph-1.10.tar.gz
I am attaching an ebuild and init/conf scripts because I could not get mailgraph to write the RRD file for some reason. I've never messed with anything RRD before so that may be the reason. To install/setup: - put in overlay and emerge - webapp-config -I -d /var/www/localhost/cgi-bin mailgraph 1.10 - edit /etc/conf.d/mailgraph and set the variable MG_POSTFIX_LOG to the location of the log postfix uses. - /etc/init.d/mailgraph start At this point it reads the postfix log (running mailgraph by hand w/o the --daemon flag confirms this). It should be writing the RRD file to /var/lib/mailgraph but it doesn't seem to be doing so. So, if anyone can play around with it and get it working, that'd be great.
Created attachment 49807 [details] mailgraph-1.10.ebuild
Created attachment 49809 [details] files/mailgraph.initd
Created attachment 49810 [details] files/mailgraph.confd
I've been waiting for this a long time, thanks Aaron. For your problem not working when started from initscript: You should add ${MG_OPTS}: start-stop-daemon --start --quiet \ --exec /usr/bin/mailgraph -- --daemon \ --daemon-rrd=/var/lib/mailgraph ${MG_OPTS}
ebuild works beatifully, but no png files show up when accessing the cgi page. I was going to make the ebuild myself, but this is MUCH faster. :) thanks! ~drew
issue w/ my png files was the fact that mailgraph is not totally compatible w/ RRDTOOL 1.2...yet. You have to remove the 2 COMMENT lines in the cgi and then all is fine.
latest is 1.11 - which has now comp. w/ rrd 1.2.x
I'm taking maintainership of this. mailgraph-1.11 is in the tree. Please let me know if there are any problems.