#721911 libesmtp6: Please use /etc/mailname, not gethostname

Package:
libesmtp6
Source:
libesmtp
Description:
LibESMTP SMTP client library
Submitter:
Reuben Thomas
Date:
2014-08-27 09:59:51 UTC
Severity:
wishlist
#721911#5
Date:
2013-09-05 10:20:30 UTC
From:
To:
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.

#721911#10
Date:
2013-09-05 10:34:53 UTC
From:
To:
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.

#721911#15
Date:
2014-08-25 00:11:49 UTC
From:
To:
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.

#721911#24
Date:
2014-08-27 09:53:58 UTC
From:
To:
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.