Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 14th August 2010, 22:17
menahem menahem is offline
Join Date: Aug 2006
Posts: 40
Thanks: 0
Thanked 1 Time in 1 Post
Default Problem with mailgraph pflogsumm

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/www.example.com/cgi-bin" 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/postfix_report.sh" i changed this pflogsumm@localhost to pflogsumm@cyta.co.il, and this postmaster@example.com to my real mail address on this server, and this: Received: from www.example.com to my real domain name, and this ([])" to the domain real ip address, and this: postmaster@example.com 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: cyta.co.il/cgi-bin/mailgraph.cgi

Thank you.


Last edited by menahem; 14th August 2010 at 22:22.
Reply With Quote
Sponsored Links
Old 15th August 2010, 11:31
menahem menahem is offline
Join Date: Aug 2006
Posts: 40
Thanks: 0
Thanked 1 Time in 1 Post
Default 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:
drwx--x--- 10 webX clientX 4096 2010-08-13 13:28 web
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

chmod -R webX.clientX /var/lib/mailgraph
This will do the job.

Have fun

Reply With Quote
The Following User Says Thank You to menahem For This Useful Post:
falko (15th August 2010)


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange email problem for one of my domains... any help appreciated paulrobert_a Installation/Configuration 5 9th August 2010 15:15
TLS Problem admins Installation/Configuration 1 19th September 2009 11:55
ERROR- Connection dropped by imap-server Al1937 Installation/Configuration 10 4th September 2009 22:15
postfix mysql on fedora core5 igongora Installation/Configuration 7 17th April 2007 05:40
SMTP TLS Problem with Mail Client dschmid Installation/Configuration 1 9th December 2005 02:56

All times are GMT +2. The time now is 16:40.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.