Configuring esmtp for an SMTP server I had not used before, I got an error because I was not sending a fully-qualified name for the name of my system. However, I have such a name configured in /etc/mailname. As far as I can tell, this is a Debian-specific configuration, so I suppose a Debian-specific enhancement to libesmtp is needed to use it, but it seems simple enough: rather than using gethostname, read /etc/mailname.
A workaround is to specify the FQDN in a "helo=" configuration option. Note that since this is a per-identity option, you need an "identity=" line, even for the default identity.
tag 721911 +upstream severity 721911 wishlists thanks Thank you for this bug report; however, this is an upstream issue not specific to the packaging. That said it appears that upstream is MIA and I'm just maintaining stability of the package itself. Therefore I'm marking this report as a wishlist and tagging it as an upstream issue. If you wish to submit a patch I'll evaluate it and include in a future upload but that is beyond my time constraints at this point in time.
tag 721911 -upstream I already explained why this is not an upstream bug: I asked for implementation of Debian-specific functionality (/etc/mailname is a Debianism, unless I've misunderstood). If you wish to submit a patch I'll evaluate it and include in a future Thanks, I've added it to my to-do list.