Christoph Pleger:
> > - i.e. what you see when you type 'hostname' at the command line, which 
> > in
> > turn is usually taken from the contents of /etc/hostname. And mydomain 
> > is
> > by default derived from myhostname. If you update /etc/hostname you may
> > also need to update /etc/hosts.
> 
> The format of /etc/hostname and /etc/hosts is exactly the same on the 
> two machines, only the actual values differ. /etc/hostname contains the 
> non-FQDN name, /etc/hosts contains first the FQDN and then the non-FQDN.

Postfix does not look in /etc/hosts, but on Debian/Ubuntu the main.cf
myorigin setting may specify a filename. Even that has no effect
on the default myhostname/mydomain setting.

        Wietse

Reply via email to