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

Natanael Copa natanael.copa at gmail.com
Wed Sep 24 15:02:39 UTC 2008


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?

> A solution would be to add a config / command line option for the sender 
> domain or EHLO/HELO string.

or use domain part of address or fallback to safe_getdomainname().

-nc




More information about the busybox mailing list