SCHAPPY — 10. September 2006, 18:40

mailgraph.pl

Problem: After upgrading spamassassin to 3.1.x mailgraph may no longer log spam mails.
Reason: Spamassassin changed its output for logging by adding (a redundant) information — its client app. name. Therefore, the regular expression will not start with the desired text.
Solution:

--- /usr/sbin/mailgraph.pl.v1.10   2006-09-10 00:00:00.000000000 +0200
+++ /usr/sbin/mailgraph.pl.v.1.10p 2006-09-10 00:00:00.000000000 +0200
@@ -615,7 +615,7 @@
                }
        }
        elsif($prog eq 'spamd') {
-               if($text =~ /^identified spam/) {
+               if($text =~ /identified spam/) {
                        event($time, 'spam');
                }
        }

Keine Kommentare »

RSS feed for comments on this post.

Bisher noch keine Kommentare.

Kommentare verfassen

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>