[Pymilter] HELO optional

Stuart D. Gathman stuart at bmsi.com
Wed Apr 28 17:05:26 EDT 2004


I just discovered that using HELO in smtp is optional (at least with
sendmail-8.12.10).

2004Apr27 21:32:43 [25310] connect from [202.155.23.34] at ('202.155.23.34', 28136) EXTERNAL
2004Apr27 21:32:45 [25310] mail from <hp8kt7nx6lv3fp. at i.> ()
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/Milter.py", line 178, in <lambda>
    milter.set_envfrom_callback(lambda ctx,*str:
  File "bms.py", line 536, in envfrom
    return self.check_spf()
  File "bms.py", line 542, in check_spf
    q = spf.query(self.connectip,'@'.join(t),self.hello_name)
AttributeError: bmsMilter instance has no attribute 'hello_name'

This message was spam, but I'm wondering if I'm justified in rejecting
any connections without HELO.

-- 
	      Stuart D. Gathman <stuart at bmsi.com>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flamis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.




More information about the Pymilter mailing list