[Logcheck-commits] Hanspeter Kunz: ignore.d.server/postfix: IPv6-ification of milter-discard rule

Hanspeter Kunz hp-guest at alioth.debian.org
Wed Jun 10 23:22:37 UTC 2009


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

Author: Hanspeter Kunz <hkunz at ifi.uzh.ch>
Date:   Thu Jun 11 00:55:38 2009 +0200

ignore.d.server/postfix: IPv6-ification of milter-discard rule

---

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

diff --git a/debian/changelog b/debian/changelog
index 84a9a7d..c001a4a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -28,8 +28,9 @@ logcheck (1.3.2) experimental; urgency=low
     - ignore managesieve logins and disconnects
   * ignore.d.server/postfix:
     - generalize rule for ETRN rejections (allow brackets)
+    - IPv6-ification of milter-discard rule 
 
- -- Hanspeter Kunz <hkunz at ifi.uzh.ch>  Thu, 11 Jun 2009 00:08:36 +0200
+ -- Hanspeter Kunz <hkunz at leto.localdomain>  Thu, 11 Jun 2009 00:49:52 +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 fb86d83..3a0cdd3 100644
--- a/rulefiles/linux/ignore.d.server/postfix
+++ b/rulefiles/linux/ignore.d.server/postfix
@@ -11,7 +11,7 @@
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ postfix/bounce\[[[:digit:]]+\]: [[:xdigit:]]+: sender delivery status notification: [[:xdigit:]]+$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ postfix/cleanup\[[[:digit:]]+\]: [[:alnum:]]+: (resent-)?message-id=.*$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ postfix/cleanup\[[[:digit:]]+\]: [[:alnum:]]+: (resent-|)message-id=<?[^>]+>?( \(added by [^[:space:]]+\))?$
-^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ postfix/cleanup\[[[:digit:]]+\]: [[:alnum:]]+: milter-discard: END-OF-MESSAGE from [-._[:alnum:]]+\[[.[:digit:]]+\]: milter triggers DISCARD action; from=<[^[:space:]]*> to=<[^[:space:]]*> proto=E?SMTP helo=<[^[:space:]]+>$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ postfix/cleanup\[[[:digit:]]+\]: [[:alnum:]]+: milter-discard: END-OF-MESSAGE from [-._[:alnum:]]+\[([.[:digit:]]+|[:[:xdigit:]]+)\]: milter triggers DISCARD action; from=<[^[:space:]]*> to=<[^[:space:]]*> proto=E?SMTP helo=<[^[:space:]]+>$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ postfix/cleanup\[[[:digit:]]+\]: [[:upper:][:digit:]]+: reject: header [^[:space:]]+:.+ from=<[^[:space:]]*>( to=<[^[:space:]]+>)? proto=E?SMTP helo=<[^[:space:]]+>: .+$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ postfix/cleanup\[[[:digit:]]+\]: [[:xdigit:]]+: milter-reject: END-OF-MESSAGE from [-._[:alnum:]]+\[[.[:digit:]]+\]: [45]\.7\.1 (virus [-._/[:alnum:]]+ detected by ClamAV - http://www\.clamav\.net|Command rejected); from=<[^[:space:]]*> to=<[^[:space:]]+> proto=E?SMTP helo=<[^[:space:]]+>$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ postfix/cleanup\[[[:digit:]]+\]: [[:xdigit:]]+: to=<[^[:space:]]+>, relay=none,( conn_use=[[:digit:]]+,)? delay=[[:digit:].]+,( delays=[[:digit:]./]+,)?( dsn=[45]\.[[:digit:]]\.[[:digit:]],)? status=(bounced|deferred) \(.+\)$




More information about the Logcheck-commits mailing list