[Logwatch-Devel] CVS commit mailscanner

Mike Tremaine mgt at stellarcore.net
Thu Feb 9 19:54:34 MST 2006


I just committed these changes based on the info from Nerijus.


[mgt at dwarfstar services]$ cvs diff mailscanner
Index: mailscanner
===================================================================
RCS file: /var/cvs/logwatch/scripts/services/mailscanner,v
retrieving revision 1.19
diff -r1.19 mailscanner
96c96,99
<          ( $ThisLine =~ m/^MailScanner child dying after Bayes rebuild/ )
---
>          ( $ThisLine =~ m/^MailScanner child dying after Bayes rebuild/ ) or
>          ( $ThisLine =~ m/^Files hidden in very deeply nested archive/ ) or
>          #This for Kaspersky I guess it is duplicated by Content checks, remove if not -mgt
>          ( $ThisLine =~ m/^\/var\/spool\/MailScanner\/incoming\/.+SUSPICION/ )
149a153,155
>    } elsif ($ThisLine =~ m/infected:\s+([\w\_\-\.\/]+)\^M/i) {
>       $VirusType_Kaspersky{$1}++;
>       $MailScan_Virus_Kaspersky++;
459,461c465,469
<    print "\n  Detail:\n";
<    foreach $ThisOne (sort keys %PhishingSourceDest) {
<       print '    ' . $ThisOne . ': ' . $PhishingSourceDest{$ThisOne} . " Time(s)\n";
---
>    if ($Detail >= 10) {
>       print "\n  Detail:\n";
>       foreach $ThisOne (sort keys %PhishingSourceDest) {
>          print '    ' . $ThisOne . ': ' . $PhishingSourceDest{$ThisOne} . " Time(s)\n";
>       }




More information about the Logwatch-Devel mailing list