Skip to content
Snippets Groups Projects
Commit 218f5168 authored by Stuart Gathman's avatar Stuart Gathman
Browse files

Do not process valid SRS recipients as delayed_failure.

parent ddbb8ac3
Branches
Tags
No related merge requests found
#!/usr/bin/env python #!/usr/bin/env python
# A simple milter that has grown quite a bit. # A simple milter that has grown quite a bit.
# $Log$ # $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 # Revision 1.105 2007/04/13 17:20:09 customdesigned
# Check access_file at startup. Compress rcpt to log. # Check access_file at startup. Compress rcpt to log.
# #
...@@ -998,6 +1001,7 @@ class bmsMilter(Milter.Milter): ...@@ -998,6 +1001,7 @@ class bmsMilter(Milter.Milter):
self.log("srs rcpt:",newaddr) self.log("srs rcpt:",newaddr)
self.dspam = False # verified as reply to mail we sent self.dspam = False # verified as reply to mail we sent
self.blacklist = False self.blacklist = False
self.delayed_failure = False
except: except:
if not (self.internal_connection or self.trusted_relay): if not (self.internal_connection or self.trusted_relay):
if srsre.match(oldaddr): if srsre.match(oldaddr):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment