Achim Schaefer
2010-Aug-12 19:58 UTC
[Logcheck-devel] Bug#592786: logcheck-database: amavisd-new does not filter CLEAN messages
Package: logcheck-database Version: 1.3.12 Severity: normal Hi, I think there is a minor bug in the amavisd-new rule. The first line contains the rule for CLEAN messages. It read: \w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ amavis\[[[:digit:]]+\]: \([-[:digit:]]+\) Passed CLEAN,( LOCAL)?( \[[.:[:xdigit:]]+\]){0,2} <[^>]*> -> <[^>]*>(,<[^>]*>)*, Message-ID: <[^>]+>( \((added by[^)]+|sfid-[_[:xdigit:]]+)\))?,( Resent-Message-ID: <[^>]+>,)? mail_id: [-+[:alnum:]]+, Hits: (-[.[:digit:]]*)+, size: [[:xdigit:]]+, queued_as: [[:xdigit:]]+( OK id=[-[:alnum:]]+)?, [[:digit:]]+ ms$ I think there should be no "-" after "Hits:" so here: \w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ amavis\[[[:digit:]]+\]: \([-[:digit:]]+\) Passed CLEAN,( LOCAL)?( \[[.:[:xdigit:]]+\]){0,2} <[^>]*> -> <[^>]*>(,<[^>]*>)*, Message-ID: <[^>]+>( \((added by[^)]+|sfid-[_[:xdigit:]]+)\))?,( Resent-Message-ID: <[^>]+>,)? mail_id: [-+[:alnum:]]+, Hits: (<--after-->-<--before-->[.[:digit:]]*)+, size: [[:xdigit:]]+, queued_as: [[:xdigit:]]+( OK id=[-[:alnum:]]+)?, [[:digit:]]+ ms$ So I think the correct line would be: \w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ amavis\[[[:digit:]]+\]: \([-[:digit:]]+\) Passed CLEAN,( LOCAL)?( \[[.:[:xdigit:]]+\]){0,2} <[^>]*> -> <[^>]*>(,<[^>]*>)*, Message-ID: <[^>]+>( \((added by[^)]+|sfid-[_[:xdigit:]]+)\))?,( Resent-Message-ID: <[^>]+>,)? mail_id: [-+[:alnum:]]+, Hits: ([.[:digit:]]*)+, size: [[:xdigit:]]+, queued_as: [[:xdigit:]]+( OK id=[-[:alnum:]]+)?, [[:digit:]]+ ms$ At least this works for me-) Please check. Thanks Achim -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (800, 'unstable'), (800, 'testing'), (500, 'experimental'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.34-1-686 (SMP w/3 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- Configuration Files: (skipped as only root can reed these files) -- no debconf information
Debian Bug Tracking System
2010-Sep-01 09:06 UTC
[Logcheck-devel] Bug#592786: marked as done (logcheck-database: amavisd-new does not filter CLEAN messages)
Your message dated Wed, 01 Sep 2010 11:03:39 +0200 with message-id <4C7E16EB.5030503 at vonhaugwitz.com> and subject line Re: [Logcheck-devel] Bug#592786: logcheck-database: amavisd-new does not filter CLEAN messages has caused the Debian Bug report #592786, regarding logcheck-database: amavisd-new does not filter CLEAN messages to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 592786: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=592786 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Achim Schaefer <achim_schaefer at gmx.de> Subject: logcheck-database: amavisd-new does not filter CLEAN messages Date: Thu, 12 Aug 2010 21:58:58 +0200 Size: 3440 URL: <http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20100901/1cad42b3/attachment.eml> -------------- next part -------------- An embedded message was scrubbed... From: Hannes von Haugwitz <hannes at vonhaugwitz.com> Subject: Re: [Logcheck-devel] Bug#592786: logcheck-database: amavisd-new does not filter CLEAN messages Date: Wed, 01 Sep 2010 11:03:39 +0200 Size: 1995 URL: <http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20100901/1cad42b3/attachment-0001.eml>