[Logcheck-commits] Hanspeter Kunz: ignore.d.server/postfix: generalize rule for ETRN rejections (allow brackets)

Hanspeter Kunz hp-guest at alioth.debian.org
Wed Jun 10 15:02:31 UTC 2009


Module: logcheck
Branch: master
Commit: 20e5576c5b5d4e2d08585e628501c217d5c55195
URL:    http://git.debian.org/?p=logcheck/logcheck.git;a=commit;h=20e5576c5b5d4e2d08585e628501c217d5c55195

Author: Hanspeter Kunz <hkunz at ifi.uzh.ch>
Date:   Wed Jun 10 17:02:08 2009 +0200

ignore.d.server/postfix: generalize rule for ETRN rejections (allow brackets)

---

 debian/changelog                        |    4 +++-
 rulefiles/linux/ignore.d.server/postfix |    2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a3f9fdd..d1a49b3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -25,8 +25,10 @@ logcheck (1.3.2) experimental; urgency=low
     - deleted redudant rule for deliver
     - enhanced deliver rule to allow pretty much anything as msgid
     - allow missing ")" in deliver rule 
+  * ignore.d.server/postfix:
+    - generalize rule for ETRN rejections (allow brackets)
 
- -- Hanspeter Kunz <hkunz at franz.ifi.uzh.ch>  Wed, 10 Jun 2009 16:40:20 +0200
+ -- Hanspeter Kunz <hkunz at franz.ifi.uzh.ch>  Wed, 10 Jun 2009 16:53:17 +0200
 
 logcheck (1.3.1) experimental; urgency=low
 
diff --git a/rulefiles/linux/ignore.d.server/postfix b/rulefiles/linux/ignore.d.server/postfix
index d55978b..fb86d83 100644
--- a/rulefiles/linux/ignore.d.server/postfix
+++ b/rulefiles/linux/ignore.d.server/postfix
@@ -151,7 +151,7 @@
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ postfix/smtpd\[[[:digit:]]+\]: warning: network_biopair_interop: error reading [[:digit:]]+ bytes from the network: Connection reset by peer$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ postfix/smtpd\[[[:digit:]]+\]: warning: numeric hostname: [[:xdigit:].:]{3,39}$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ postfix/smtpd\[[[:digit:]]+\]: warning: numeric result [[[:xdigit:].:]{3,39}]+ in address->name lookup for [^[:space:]]+$
-^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ postfix/smtpd\[[[:digit:]]+\]: warning: reject: ETRN [._[:alnum:]-]+\.\.\. from [._[:alnum:]-]+\[[[:digit:].]{7,15}\]$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ postfix/smtpd\[[[:digit:]]+\]: warning: reject: ETRN \[?[._[:alnum:]-]+\]?\.\.\. from [._[:alnum:]-]+\[[[:digit:].]{7,15}\]$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ postfix/smtpd\[[[:digit:]]+\]: warning: smtpd_peer_init: [[:xdigit:].:]{3,39}: address not listed for hostname [._[:alnum:]-]+$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ postfix/smtpd\[[[:digit:]]+\]: warning: smtpd_spf_result: unknown SPF result 4 \(unknown\)$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ postfix/smtpd\[[[:digit:]]+\]: warning:( smtpd_peer_init:)? [[:xdigit:].:]{3,39}: hostname [^[:space:]]+ verification failed: (Temporary failure in name resolution|Name or service not known|No address associated with hostname)$




More information about the Logcheck-commits mailing list