[PATCH] sendmail: EHLO/HELO should use a domain

walter harms wharms at bfs.de
Wed Sep 24 16:28:30 UTC 2008



Natanael Copa schrieb:
> On Wed, 2008-09-24 at 16:40 +0200, Ralf Friedl wrote:
>> Natanael Copa wrote:
>>> Most serious issue was the fact that current bb sendmail uses the from
>>> address in the EHLO/HELO message. The rfc1869 (section 4.2) says it
>>> should be a domain not an address. So my MTA correctly dicarded the
>>> invalid EHLO. I solved this by using the domain part in the from
>>> address. This requires that the from address has an '@' which i think is
>>> ok in todays world (10 years ago it would be different)
>>>   
>> The from address may also be empty (rfc821): MAIL FROM:<>
> 
> realistically, does any MTA's accept empty MAIL FROM nowdays?
> 


unfortunately yes (got one today).
The question is: what else ? you can fake a user name or copy one
from internet, ... allowing empty from is a minor issue.
The question is: must busybox support it ?

re,
 wh



More information about the busybox mailing list