Andrew Gallagher
2007-Nov-12 11:01 UTC
[Logcheck-devel] Bug#450928: logcheck: amavisd-new Passed CLEAN rule fails to match
Package: logcheck Version: 1.2.63 Severity: normal The amavisd-new rules fail to ignore "Passed CLEAN" messages due to a missing regexp clause "( size: [[:digit:]]+,)?". The first line should read as follows: ^\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: (-[.[ :digit:]]*)+,( size: [[:digit:]]+,)? queued_as: [[:xdigit:]]+, [[:digit:]]+ ms$ -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (x86_64) Kernel: Linux 2.6.18-xenU-xp070519 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages logcheck depends on: ii adduser 3.105 add and remove users and groups ii cron 3.0pl1-100 management of regular background p ii lockfile-progs 0.1.11 Programs for locking and unlocking ii logtail 1.2.63 Print log file lines that have not ii mailx 1:8.1.2-0.20070424cvs-1 A simple mail user agent ii postfix [mail-tr 2.4.5-3 High-performance mail transport ag ii sysklogd [system 1.5-1 System Logging Daemon Versions of packages logcheck recommends: ii logcheck-database 1.2.63 database of system log rules for t -- debconf information: logcheck/changes: * logcheck/install-note:
Andrew Gallagher
2007-Nov-13 10:20 UTC
[Logcheck-devel] Bug#451094: logcheck: amavisd-new Passed CLEAN rule fails to match
Package: logcheck Version: 1.2.63 Severity: normal I've just found another problem in ignore.d.server/amavisd-new. The clause just after "Passed CLEAN," should read: ( \[[.:[:xdigit:]]+\]){0,2} so it can also match zero instances (as per amavisd-new 1:2.5.2-2). -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (x86_64) Kernel: Linux 2.6.18-xenU-xp070519 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages logcheck depends on: ii adduser 3.105 add and remove users and groups ii cron 3.0pl1-100 management of regular background p ii lockfile-progs 0.1.11 Programs for locking and unlocking ii logtail 1.2.63 Print log file lines that have not ii mailx 1:8.1.2-0.20070424cvs-1 A simple mail user agent ii postfix [mail-tr 2.4.5-3 High-performance mail transport ag ii sysklogd [system 1.5-1 System Logging Daemon Versions of packages logcheck recommends: ii logcheck-database 1.2.63 database of system log rules for t -- debconf information: logcheck/changes: * logcheck/install-note: