On Thu, Jun 03, 2010 at 08:32:16PM +0200, Moe wrote: > Remember we're talking about the case of auto-detection here > - if someone is not willing to take that risk then they should hardcode > 'myhostname' and 'mydomainname' in main.cf, no? > > Moreover I'd suggest that postfix may very well accept a FQDN from > gethostname() if that returns a value that contains dots. That way > people who prefer it that way can have theirs, and people who take > 'gethostname()' literally get theirs, too.
You don't understand Postfix well enough. Determining the system name is not a cosmetic nicety for an MTA. The system name has important consequences for delivery and addressing of local mail. How Postfix does this has been thought out with care. In fact it is a feature that Debian laptops appear to be "shortname.localdomain" rather than an FQDN in some random ISP's domain. We should close this thread. Over and out. -- Viktor.