Problem with mailgraph pflogsumm

Discussion in 'Installation/Configuration' started by menahem, Aug 14, 2010.

  1. menahem

    menahem Member

    Hi all,

    I installed ispconfig3 using this tutorial: The Perfect Server - Debian Lenny (Debian 5.0) [ISPConfig 3].
    Every thing works fine.

    I Installed mailgraph using this tutorial:Postfix Monitoring With Mailgraph And pflogsumm On Debian Lenny.
    At this stage: "dpkg-reconfigure mailgraph" option 3 i clicked no (it should be no but with yes the same result).
    At this stage: "cp -p /usr/lib/cgi-bin/mailgraph.cgi /var/www/" i chmod it to 755 and owned it to webX clientX otherwise i get 500 error.
    I waited a full DAY and to some mail to arrive but running the mailgraph.cgi i get no graphs at all. Also when i did view page source and clicked the images ling (like "mailgraph.cgi?0-n" for example) i get server 500 error.

    Using the same tutorial i installed pflogsumm. At this stage: "vi /usr/local/sbin/" i changed this [email protected] to [email protected], and this [email protected] to my real mail address on this server, and this: Received: from to my real domain name, and this ([])" to the domain real ip address, and this: [email protected] to my real mail box.
    ... Waited to next day 8:00 and got mail all full of 0 meaning no mail was sent and no mail was received. Mail did sent and did received.

    I also installed cacti and munin on ,both, i see the graphs as should be.

    Please advice HoTo fix it up.

    The url to the mailgraphs is:

    Thank you.

    Last edited: Aug 14, 2010
  2. menahem

    menahem Member

    Problem with mailgraph fixed - Here is the Howto

    The ispconfig installation give any website directory ownership according to client name and user name configured into ispconfig - it should look like this:
    The same user and group has it permissions at the cgi-bin directory where the mailgraph.cgi files run from.
    To make the graphs work mailgraph.cgi need permissions to /var/lib/mailgraph

    This will do the job.

    Have fun


Share This Page