Your message dated Wed, 01 Sep 2010 11:03:39 +0200
with message-id <4c7e16eb.5030...@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 ow...@bugs.debian.org
immediately.)


-- 
592786: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=592786
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
Achim Schaefer wrote:
I think there should be no "-" after "Hits:"

Actually the minus sign is optional (as mentioned in #594605). I've fixed that in fb6c925 and thus I close this bug.

Greetings

Hannes


--- End Message ---
_______________________________________________
Logcheck-devel mailing list
Logcheck-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/logcheck-devel

Reply via email to