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

Fix missing HELO log.

parent f65294b4
Branches
Tags
No related merge requests found
...@@ -111,7 +111,7 @@ class spfMilter(Milter.Milter): ...@@ -111,7 +111,7 @@ class spfMilter(Milter.Milter):
def envfrom(self,f,*str): def envfrom(self,f,*str):
self.log("mail from",f,str) self.log("mail from",f,str)
if not self.hello_name: if not self.hello_name:
self.log('REJECT: SPF %s %i %s' % (res,code,txt)) self.log('REJECT: missing HELO')
self.setreply('550','5.7.1',"It's polite to say helo first.") self.setreply('550','5.7.1',"It's polite to say helo first.")
return Milter.REJECT return Milter.REJECT
self.mailfrom = f self.mailfrom = f
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment