From 218f5168bcae78d2eb6c1e7c7dd6b988669e6b5e Mon Sep 17 00:00:00 2001 From: Stuart Gathman <stuart@gathman.org> Date: Thu, 19 Apr 2007 16:02:43 +0000 Subject: [PATCH] Do not process valid SRS recipients as delayed_failure. --- bms.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bms.py b/bms.py index 0c26466..74c69c5 100644 --- a/bms.py +++ b/bms.py @@ -1,6 +1,9 @@ #!/usr/bin/env python # A simple milter that has grown quite a bit. # $Log$ +# Revision 1.107 2007/04/15 01:01:13 customdesigned +# Ban ips with too many bad rcpts on a connection. +# # Revision 1.105 2007/04/13 17:20:09 customdesigned # Check access_file at startup. Compress rcpt to log. # @@ -998,6 +1001,7 @@ class bmsMilter(Milter.Milter): self.log("srs rcpt:",newaddr) self.dspam = False # verified as reply to mail we sent self.blacklist = False + self.delayed_failure = False except: if not (self.internal_connection or self.trusted_relay): if srsre.match(oldaddr): -- GitLab