Karl Chen
2005-Dec-24 04:14 UTC
[Logcheck-devel] Bug#344620: ignore.server.d/postfix: 'address not listed for hostname' rule
Package: logcheck-database
Version: 1.2.42
Severity: normal
Tags: patch
Index: postfix
==================================================================--- postfix
(revision 1097)
+++ postfix (working copy)
@@ -44,7 +44,7 @@
# Postfix < 2.1
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/smtp\[[0-9]+\]: connect to
[^[:space:]]+: server dropped connection without sending the initial greeting
\(port 25\)$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/smtp\[[0-9]+\]: [[:alnum:]]+:
to=\<.*\>, relay=[^[:space:]]+\], status=deferred \(host [^[:space:]]+\]
said: .*$
-^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/smtpd\[[0-9]+\]: warning:
[[0-9a-f.:]{3,39}]+: address not listed for hostname [^[:space:]]+$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/smtpd\[[0-9]+\]: warning:
([0-9a-f.:]{3,39})+: address not listed for hostname [^[:space:]]+$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/smtpd\[[0-9]+\]: too many errors
after RCPT from [^[:space:]]+$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/smtpd\[[0-9]+\]: warning:
valid_hostname: invalid character [0-9]+\(decimal\): .*$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/smtpd\[[0-9]+\]: warning:
valid_hostname: misplaced delimiter: .$
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable'), (60,
'unstable'), (40, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-quack+roar.cs.berkeley.edu
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages logcheck-database depends on:
ii debconf [debconf-2.0] 1.4.62 Debian configuration management sy
logcheck-database recommends no packages.
-- debconf information excluded
Todd Troxell
2005-Dec-31 12:40 UTC
Bug#344620: [Logcheck-devel] Bug#344620: ignore.server.d/postfix: 'address not listed for hostname' rule
On Fri, Dec 23, 2005 at 08:14:57PM -0800, Karl Chen wrote:> Package: logcheck-database > Version: 1.2.42 > Severity: normal > Tags: patch > > > Index: postfix > ==================================================================> --- postfix (revision 1097) > +++ postfix (working copy) > @@ -44,7 +44,7 @@ > # Postfix < 2.1 > ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/smtp\[[0-9]+\]: connect to [^[:space:]]+: server dropped connection without sending the initial greeting \(port 25\)$ > ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/smtp\[[0-9]+\]: [[:alnum:]]+: to=\<.*\>, relay=[^[:space:]]+\], status=deferred \(host [^[:space:]]+\] said: .*$ > -^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/smtpd\[[0-9]+\]: warning: [[0-9a-f.:]{3,39}]+: address not listed for hostname [^[:space:]]+$ > +^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/smtpd\[[0-9]+\]: warning: ([0-9a-f.:]{3,39})+: address not listed for hostname [^[:space:]]+$Thanks, Karl! I've made this change in CVS. -- Todd Troxell http://rapidpacket.com/~xtat
Seemingly Similar Threads
- Bug#255560: logcheck-database: More Postfix rules
- Bug#260743: logcheck-database: dhcp rule updates for failover support
- [PATCH] lib: Use a common function to validate strings.
- Bug#368313: logcheck-database: new postfix violations ignore rule
- Bug#346350: logcheck-database: dhcp3-server ignores need to include (none ) client host name