MailScanner/Postfix/Logwatch heads up

Mark Sapiro mark at msapiro.net
Fri Apr 24 17:32:58 IST 2009


MailScanner 4.76.18 changes the form of the entropy fragment added to
Postfix queue ids by MailScanner to avoid an issue ultimately caused
by a perl bug.

If you run MailScanner with Postfix and you run Logwatch, this change
will cause the " D62EC6903AF.P0113C to C3FEF6903B1" portion of the

Apr 24 09:27:30 sbh16 MailScanner[9194]: Requeue: D62EC6903AF.P0113C to
C3FEF6903B1

log entries to be printed as "**Unmatched Entries**" instead of ignored.

The attached lw.patch.txt patch will fix this.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

-------------- next part --------------
--- /usr/share/logwatch/scripts/services/mailscanner	2007-01-06 06:08:22.000000000 -0800
+++ /etc/logwatch/scripts/services/mailscanner	2009-04-24 09:15:41.000000000 -0700
@@ -76,7 +79,7 @@
          ( $ThisLine =~ m/Read [0-9]+ hostnames from the phishing whitelist/ ) or
          ( $ThisLine =~ m/completed at [0-9]+ bytes per second/ ) or
          ( $ThisLine =~ m/Message .+ from .+ to .+ is/ ) or 
-         ( $ThisLine =~ m/^[A-F0-9]+\.[A-F0-9]{5} to/ ) or #for postfix Requeue:
+         ( $ThisLine =~ m/^[A-F0-9]+\.P[A-F0-9]{5} to/ ) or #for postfix Requeue:
          ( $ThisLine =~ m/^calling custom .* function/ ) or
          ( $ThisLine =~ m/^Initialising database connection/ ) or
          ( $ThisLine =~ m/^Finished initialising database connection/ ) or


More information about the MailScanner mailing list