[Logcheck-devel] Bug#252712: logcheck-database: Typo in postfix results in messages not being ignored

Guillaume Rischard reportbug-nospam at stereo.lu
Fri Jun 4 19:53:42 UTC 2004


Package: logcheck-database
Version: 1.2.21
Severity: normal
Tags: patch



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.20-020stab009.8.777-enterprise
Locale: LANG=C, LC_CTYPE=C

Versions of packages logcheck-database depends on:
ii  debconf [debconf-2.0]         1.4.25     Debian configuration management sy

-- debconf information:
* logcheck-database/conffile-cleanup: true
* logcheck-database/rules-directories-note: 
* logcheck-database/security_level: server
* logcheck-database/standard-rename-note: 

There is an extra single dash at the beginning of line 23 in the postfix ignore file. This causes messages like:

Jun  4 18:00:45 pioneer postfix/smtp[6848]: connect to better-svc-plans.com[66.139.78.239]: Connection refused (port 25)

While I'm still working on a patch that will automatically screw lightbulbs in spammers' ears when they cause that message, here is one that will at least get rid of it in the reports.

Cheers,

Guillaume

--- postfix.orig        2004-06-04 19:33:29.000000000 +0000
+++ postfix     2004-06-04 19:33:44.000000000 +0000
@@ -20,7 +20,7 @@
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/smtpd?\[[0-9]+\]: Verified: subject_CN=.*, issuer=.*$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/smtpd\[[0-9]+\]: OTP unavailable because can't read/write key database /etc/opiekeys: No such file or directory$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/smtpd\[[0-9]+\]: [A-Z0-9]+: reject: RCPT from [^[:space:]]+: [45][0-9][0-9] .*$
-'^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/smtp\[[0-9]+\]: connect to [^[:space:]]+ Connection refused \(port [0-9]+\)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/smtp\[[0-9]+\]: connect to [^[:space:]]+ Connection refused \(port [0-9]+\)$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/smtp\[[0-9]+\]: connect to [^[:space:]]+ No route to host \(port 25\)$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/smtp\[[0-9]+\]: connect to [^[:space:]]+ Network is unreachable \(port 25\)$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/smtp\[[0-9]+\]: connect to [^[:space:]]+ server refused mail service \(port 25\)$





More information about the Logcheck-devel mailing list