Hi Folks,
I'm having a problem with mailgraph, it's only counting the received
messages and rejected messages. I'm using postfix+Mailscanner+clamav.
MailScanner version 4.65.3
postfix version 2.4.6
mailgraph-1.14
rrdtool-1.2.23-3.fc5 (already tried the lastest one rrdtool-1.2.26)
My sent messages are pretty much like that:
Dec 6 15:08:50 stratus MailScanner[5644]: Requeue: DE5A930351.0EF3B to
8D422304F7
Dec 6 15:08:50 stratus postfix/qmgr[5466]: 8D422304F7: from=<>,
size=3417, nrcpt=1 (queue active)
Dec 6 15:08:53 stratus postfix/smtp[21124]: 8D422304F7:
to=<
partner@...>, relay=mail4.zoneedit.com[66.223.51.217]:25,
delay=13, delays=9.5/0/2.5/0.69, dsn=2.0.0, status=sent (250 2.0.0 Ok:
queued as 3BD958525B0)
Spam messages:
Dec 2 17:12:13 stratus MailScanner[10679]: Spam Checks: Found 2 spam
messages
Virus messages:
Dec 6 14:59:13 stratus MailScanner[5767]: Virus Scanning: Found 1 viruses
So i think that's mailgraph.pl is suppose to match it:
elsif($prog eq 'MailScanner') {
if($text =~ /(Virus Scanning: Found)/ ) {
event($time, 'virus');
}
elsif($text =~ /Bounce to/ ) {
event($time, 'bounced');
}
elsif($text =~ /^Spam Checks: Found ([0-9]+) spam
messages/) {
my $cnt = $1;
for (my $i=0; $i<$cnt; $i++) {
event($time, 'spam');
But i don't know why is not working ;/
Can anyone say what i'm missing in my configuration?
Trully,
Alberto Viana
--
Esta mensagem foi verificada pelo sistema de antivirus do servidor
de correio eletronico e encontra-se livre da eminencia de virus.
-- Attached file removed by Ecartis and put at URL below --
-- Type: image/png
-- Size: 42k (43083 bytes)
-- URL :
http://lists.ee.ethz.ch/p/02-mailgraph.png-- Attached file removed by Ecartis and put at URL below --
-- Type: image/png
-- Size: 23k (24028 bytes)
-- URL :
http://lists.ee.ethz.ch/p/02-mailgraph2.png--
Unsubscribe mailto:
mailgraph-request@...?subject=unsubscribe
Help mailto:
mailgraph-request@...?subject=help
Archive
http://lists.ee.ethz.ch/mailgraphWebAdmin
http://lists.ee.ethz.ch/lsg2.cgi