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 reformime: do not require \r\n 2011-05-22 03:46:33 +02:00
mail.c sendmail: stop doing -t unconditionally; makemime: generate 76 char base64 lines 2011-11-18 22:25:35 +01:00
mail.h makemime: content-type should default to application/octet-stream 2011-11-19 13:55:46 +01:00
makemime.c makemime: tweak help text: -a HDR can be repeated 2011-12-20 02:15:19 +01:00
popmaildir.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
reformime.c makemime: document our current behavior. Tweak help text 2011-11-19 14:43:02 +01:00
sendmail.c sendmail: use host rather than NIS domain name for HELO 2012-04-28 17:04:19 +02:00