Moe: > The right way, as explained by Mike Paul in that ticket, would be to > call gethostbyname() on the return value of gethostname() and then split > the result of *that* into hostname and domainname.
That would be AN INCREDIBLY STUPID IDEA, causing all mail processes to hang when the network is down and the hostname is not in /etc/hosts. Wietse