From e2f1587832eef543066a5a07ec026ff0d279fc56 Mon Sep 17 00:00:00 2001 From: Stuart Gathman Date: Sat, 2 Jul 2005 23:27:31 +0000 Subject: [PATCH] Don't match hostnames for internal connects. --- bms.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/bms.py b/bms.py index 53e0873..22557b6 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.13 2005/07/01 16:30:24 customdesigned +# Always log trusted Received and Received-SPF headers. +# # Revision 1.12 2005/06/20 22:35:35 customdesigned # Setreply for rejectvirus. # @@ -549,10 +552,6 @@ class bmsMilter(Milter.Milter): else: ipaddr = '' self.connectip = ipaddr self.missing_ptr = dynip(hostname,self.connectip) - for pat in internal_connect: - if fnmatchcase(hostname,pat): - self.internal_connection = True - break if self.internal_connection: connecttype = 'INTERNAL' else: