cvs commit mailscanner

Mike Tremaine <[email protected]>
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
Thanks John!

Rigel:~/Projects/logwatch_cvs/logwatch/scripts/services mgt$ cvs diff  
mailscanner
Index: mailscanner
===================================================================
RCS file: /var/cvs/logwatch/scripts/services/mailscanner,v
retrieving revision 1.31
diff -r1.31 mailscanner
50a51,53
 > my $MailScan_GoodWatermark = 0;
 > my $MailScan_BadWatermark = 0;
 >
292a296,299
 >    } elsif ($ThisLine =~ m/Valid Watermark HASH found in Message/) {
 >       $MailScan_GoodWatermark++;
 >    } elsif ($ThisLine =~ m/Message .+ had bad watermark/) {
 >       $MailScan_BadWatermark++;
563a571,577
 >
 > if ( ($MailScan_GoodWatermark > 0) || ($MailScan_BadWatermark >  
0) ) {
 >    print "\nWatermark report:\n";
 >    print "   Messages with good watermark: $MailScan_GoodWatermark 
\n";
 >    print "   Messages with null sender and bad or no watermark:  
$MailScan_BadWatermark\n";
 > }
 >

-Mike
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.