mailscanner-mrtg: ERROR: mail, spam and virus counters not fully initialised.

Jeffry Page jtp at jtpage.net
Fri Aug 7 16:00:36 IST 2009


I saw your post so I checked out the CVS. Decided to upgrade my install
also.

I found that my spam and virus ratios stopped working so I investigated.

Open the Data.pm (default /usr/lib/MailScanner-MRTG/MSMRTG/Data.pm)

Need to add "spamdelete" to line 108 so it looks like this:

       foreach (qw(mailbytes mail spam virus spamdelete))

That fixed it for me.

The problem I think happens if you don't "delete" spam.
I store all the spam for MailWatch so my spam deleted graph is always going
to 0.

-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Jens
Potthast
Sent: Friday, August 07, 2009 6:17 AM
To: mailscanner at lists.mailscanner.info
Subject: mailscanner-mrtg: ERROR: mail, spam and virus counters not fully
initialised.



Somehow I can't get this to work. What I did:
- installed mailscanner-mrtg 0.11.00 (runs ok, only a minor bug with
'uptime' dir not
found)
- installed mailscanner-mrtg from cvs over existing 0.11.00 installation

Now I get this "ERROR: mail, spam and virus counters not fully initialised."
thing.
Guess it has something to do with spamdeleted (being 'u'). 


And here is all the stuff, I forgot to mention (shame on me! :-)):
MailScanner 4.77 is running on CentOS 5.3 with postfix 2.3.3. 


Can anyone help, please?

Regards, 
Jens 


-------------------- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is believed to be clean.



More information about the MailScanner mailing list