Public bug reported:

Binary package hint: logcheck

Logchecks reports a lot of clean amavis results, even though the default
regexp in ignore.d.server/amavisd-new contains regexps which seem to /
should match clean lines.

An example of a line which does not gets matched:

Oct 22 21:02:13 server amavis[28193]: (28193-07) Passed CLEAN,
<[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>, Message-ID:
<[EMAIL PROTECTED]>, mail_id: XNhvN7GryTz0, Hits: 0.,
queued_as: E2AEF101FC, 1050 ms

Unfortunately kRegExpEditor cannot handle the syntax used in logcheck
(:digit: :alnum: etc), which would make debugging/testing a lot easier.

^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ amavis\[[[:digit:]]+\]:
\([-[:digit:]]+\) Passed CLEAN,( \[[.:[:xdigit:]]+\]){1,2} <[^>]*> ->
<[^>]*>(,<[^>]*>)*, Message-ID: <[^>]+>( \((added
by[^)]+|sfid-[_[:xdigit:]]+)\))?,( Resent-Message-ID: <[^>]+>,)?
mail_id: [-+[:alnum:]]+, Hits: [^,]*, queued_as: [[:xdigit:]]+,
[[:digit:]]+ ms$

** Affects: logcheck (Ubuntu)
     Importance: Undecided
         Status: New

-- 
logcheck reports clean lines from amavis
https://bugs.launchpad.net/bugs/155943
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to