Re: fallback to "." when gethostname() yield an empty result

Sergey Poznyakoff <[email protected]>
Newsgroups gmane.comp.gnu.mailutils.bugs
Organization GNU.org.ua
Message-ID <[email protected]>
Hi Robert,

Running your test[1] on my test box without hostname[2], I get:

mail: S: 220 ulysses.gnu.org.ua ESMTP server ready
mail: C: EHLO [10.102.42.241]
[...irrelevant output omitted...]
mail: C: QUIT
mail: S: 221 2.0.0 ulysses.gnu.org.ua closing connection

and the message gets delivered correctly.

Perhaps I could get more insight into your problem if I saw your
config.log file.

Regards,
Sergey

[1] FWIW, the '--exec=setq mode=send' option is useless,
[2] hostname '' on GNU/Linus gives 'the specified hostname is
invalid'. I had to write a small program to clear the hostname instead.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.