patch for scripts/services/mailscanner

Nerijus Baliunas <[email protected]>
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
Hello,

With recent mailscanner version it now reports:
 **Unmatched Entries**
    SpamAssassin temporary working directory is /var/spool/MailScanner/incoming/SpamAssassin-Temp : 28 Time(s)

--- mailscanner.orig    2007-06-26 16:07:38.000000000 +0300
+++ mailscanner 2007-07-01 15:18:55.000000000 +0300
@@ -105,7 +105,8 @@
          ( $ThisLine =~ m/^Closing down IP blocking/ ) or
          ( $ThisLine =~ m/^Read \d+ IP blocking entries from/ ) or
          #This for Kaspersky I guess it is duplicated by Content checks, remove if not -mgt
-         ( $ThisLine =~ m/^\/var\/spool\/MailScanner\/incoming\/.+SUSPICION/ )
+         ( $ThisLine =~ m/^\/var\/spool\/MailScanner\/incoming\/.+SUSPICION/ ) or
+         ( $ThisLine =~ m/^SpamAssassin temporary working directory is/ )
    ) {
       # We don't care about these
    } elsif ( $ThisLine =~ m/New Batch: Scanning ([0-9]+) messages, ([0-9]+) bytes/i) {

Regards,
Nerijus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.