busybox/mailutils
Ron Yorston 576b1d3c41 sendmail: use host rather than NIS domain name for HELO
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)". [vda: yes, I checked my machine
and its uts.domainname was indeed "(none)"]

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@tigress.co.uk>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2012-04-28 17:04:19 +02:00
..
Config.src
Kbuild.src
mail.c
mail.h
makemime.c makemime: tweak help text: -a HDR can be repeated 2011-12-20 02:15:19 +01:00
popmaildir.c
reformime.c
sendmail.c sendmail: use host rather than NIS domain name for HELO 2012-04-28 17:04:19 +02:00