On Thursday, 9 April 2020 09:53:07 BST Caveman Al Toraboran wrote: > On Thursday, April 9, 2020 10:49 AM, Michael <confabul...@kintzios.com> wrote: > > I have not configured nullmailer to know its internals, but assuming you > > have not removed '127.0.0.1 localhost' from your /etc/hosts it should > > work. > interesting. i had (no work): > > `127.0.0.1 localhost myhostname` > > but it only worked when i swapped order of `myhostname`: > > `127.0.0.1 myhostname localhost` > > so now it's working, but me surprise! me cannot sense. do u sense?
Hmm ... odd. It may be specific to nullmailer code, which I am not familiar with. The sequence in /etc/hosts file is: # IP_ADDRESS canonical_hostname [aliases...] 127.0.0.1 localhost my_PC Userspace applications ought to resolve 'localhost' to 127.0.0.1, which is a special hostname, rather than an alias. You can read more about localhost in RFC 1912, starting at the bottom of page 13: https://tools.ietf.org/html/rfc1912 Given the above I would expect an application to resolve "localhost" to 127.0.0.1 and potentially fall over on some alias, depending how it parsed / etc/hosts file.
signature.asc
Description: This is a digitally signed message part.