LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-27-2006, 06:07 AM   #1
Clemente
Member
 
Registered: Aug 2003
Distribution: Debian, Ubuntu
Posts: 188

Rep: Reputation: 30
mailgraph problem


Hi all,
just installed mailgraph as cgi. The mailgraph daemon fills the dateabase well:
Quote:
root@h10835 : ~ : 12:22
>rrdtool fetch /var/lib/mailgraph/mailgraph.rrd MAX
sent recv bounced rejected

1167132000: 1.6666666667e-02 3.3333333333e-02 0.0000000000e+00 1.6666666667e-02
1167132480: 0.0000000000e+00 3.3333333333e-02 0.0000000000e+00 3.3333333333e-02
1167132960: 0.0000000000e+00 3.3333333333e-02 0.0000000000e+00 1.6666666667e-02
1167133440: 0.0000000000e+00 1.6666666667e-02 0.0000000000e+00 1.6666666667e-02
1167133920: 0.0000000000e+00 3.3333333333e-02 0.0000000000e+00 1.6666666667e-02
1167134400: 0.0000000000e+00 1.6666666667e-02 0.0000000000e+00 1.6666666667e-02
1167134880: 0.0000000000e+00 1.6666666667e-02 0.0000000000e+00 0.0000000000e+00
[...]
But the images produced via mailgraph.cgi only show sent and received mails. There is no entry for error or rejected or anything else. At least rejected messages exist in my mail log and - if I see correct - the rrd database.
To point it out: I don't see an zero entry for rejected emails. There is not even a color for rejected emails in the legend.

What can I do to make them visible in the generated graph?

Thanks a lot,
Clemente

Last edited by Clemente; 12-28-2006 at 04:22 AM.
 
Old 12-28-2006, 06:24 AM   #2
Clemente
Member
 
Registered: Aug 2003
Distribution: Debian, Ubuntu
Posts: 188

Original Poster
Rep: Reputation: 30
Thumbs up Solved

Solved:
I don't have a virus rrd. Mailgraph.cgi contains a function graph_err that produces the image for rejected, vounced and microbiological polluted e-mails. This function fails silently, if no virus rrd is present. I simply commented all lines, that assemble the virus graph - and all works fine
Clemente

Last edited by Clemente; 12-28-2006 at 06:27 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Postfix Monitoring With Mailgraph And pflogsumm LXer Syndicated Linux News 0 07-04-2006 04:54 PM
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration