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

Mailgraph does not recognize SpamPD - 'Spam Proxy Daemon' log lines:
[..] spampd[<pid>]: identified spam [..]

After editing mailgraph.pl spam-statistics start to show up:

@@ -742,7 +742,7 @@
                        event($time, 'spam');
                }
        }
-       elsif($prog eq 'spamproxyd') {
+       elsif($prog =~ /^spamp(roxy)?d/) {
                if($text =~ /^\s*SPAM/ or $text =~ /^identified spam/) {
                        event($time, 'spam');
                }

Hans van Kranenburg

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-xen-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)


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

Reply via email to