[Logwatch-Devel] amavis patch for recent amavis releases

Who Knows quien-sabe at metaorg.com
Sun May 21 10:41:29 MST 2006


diff -uNr logwatch.cvs/scripts/services/amavis 
logwatch.local/scripts/services/amavis
--- logwatch.cvs/scripts/services/amavis    2006-04-02 
10:26:52.000000000 -0700
+++ logwatch.local/scripts/services/amavis    2006-05-21 
10:34:51.630559020 -0700
@@ -68,6 +68,8 @@
         or ($ThisLine =~ /^Not-Delivered/)
         or ($ThisLine =~ /^SpamControl/)
         or ($ThisLine =~ /^SPAM-TAG/)
+        or ($ThisLine =~ /SPAM\.TAG2/)
+        or ($ThisLine =~ /BAD-HEADER\.TAG2/)
         or ($ThisLine =~ /^Net/)
         or ($ThisLine =~ /^Perl/)
         or ($ThisLine =~ /^ESMTP/)
@@ -118,7 +120,7 @@
         $Viruses{$Virus}{$From}++;
       }; # if
 
-   } elsif (($FromIP, $Fromspam, $Towards) = ( $ThisLine =~ /^(?:Passed 
)?(?:SPAM|Blocked SPAM), (?:\[([^\]]*)\] )*[(<]([^>)]*)[)>] -\> 
[\(\<]([^\>\)]+)[\)\>]/ )) {
+   } elsif (($FromIP, $Fromspam, $Towards) = ( $ThisLine =~ /^(?:Passed 
)?(?:SPAM|SPAMMY|Blocked SPAM), (?:\[([^\]]*)\] )*[(<]([^>)]*)[)>] -\> 
[\(\<]([^\>\)]+)[\)\>]/ )) {
       $SpamMsgs++;
 
       if ($Fromspam =~ /^$/) {

-------------- next part --------------
A non-text attachment was scrubbed...
Name: logwatch-7.3-amavis.patch
Type: text/x-patch
Size: 1042 bytes
Desc: not available
Url : http://ip70-176-100-107.ph.ph.cox.net/pipermail/logwatch-devel/attachments/20060521/a58e71fd/logwatch-7.3-amavis.bin


More information about the Logwatch-Devel mailing list