Package: mailgraph
Version: 1.12-2.1
Severity: normal
Tags: patch

No way to make mailgraph to see spam again (in etch too).
In mail.log I see SPAMMY now and not SPAM.

I think this patch is enough.

--- mailgraph~  2007-04-11 18:43:23.000000000 +0200
+++ mailgraph   2007-04-11 18:43:23.000000000 +0200
@@ -595,7 +595,7 @@
                }
        }
        elsif($prog eq 'amavis' || $prog eq 'amavisd') {
-               if(   $text =~ /^\([0-9-]+\) (Passed|Blocked) SPAM\b/) {
+               if(   $text =~ /^\([0-9-]+\) (Passed|Blocked) SPAM|SPAMMY\b/) {
                        event($time, 'spam'); # since amavisd-new-2004xxxx
                }
                elsif($text =~ /^\([0-9-]+\)
                (Passed|Not-Delivered)\b.*\bquarantine spam/) {


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to