[PATCH] sendmail: use host rather than NIS domain name for HELO
Denys Vlasenko
vda.linux at googlemail.com
Sat Apr 28 15:07:15 UTC 2012
On Fri, Apr 27, 2012 at 12:36 PM, Ron Yorston <rmy at tigress.co.uk> wrote:
> According to RFC 5321 the argument to HELO "contains the fully-qualified
> domain name of the SMTP client" or its IP address if no FQDN is available.
> BusyBox sendmail uses the NIS domain name instead which, in many cases,
> is likely to be the default "(none)". Despite this BusyBox sendmail works
> because, per RFC 1123, the server "MUST NOT refuse to accept a message,
> even if the sender's HELO command fails verification".
>
> Using the host name is more likely to satisfy the intent of the RFC while
> allowing the otherwise unused safe_getdomainname function to be removed.
>
> Signed-off-by: Ron Yorston <rmy at tigress.co.uk>
Applied, thanks!
--
vda
More information about the busybox
mailing list