On Thu, Jun 03, 2010 at 08:36:52PM +0200, Moe wrote: > My point is: When 'myhostname' and 'mydomainname' are left out of > main.cf then postfix makes an attempt to auto-detect them.
These are MTA configuration variables. > This auto-detection does not currently follow what other tools like > 'hostname' do, and not what the man-pages of gethostname()/uname(), > getdomainname() suggest. The man-pages in question have nothing to do with Postfix configuration variables. The correct way to not duplicate the MTA name into main.cf, while getting the desired domain appended to the host's short-name, if the default "localdomain" is not appropriate is to add: mydomain = example.com to the top of main.cf. > You suggest this auto-detection is deliberately done wrong to protect > users on misconfigured hosts from themselves. It is deliberately done right to ensure reliability, stability and correct operation of non-networked hosts. Please stop. And close the Debian bug-report please, if you persist too much, someone who understands Postfix poorly may decide to fix the "bug" for the Debian community. Yes, this would not be quite as dramatic as the OpenSSL PRNG botch, but it would still be a mistake, and cause needless pain and effort to undo. -- Viktor.