VR:
> On a test box in Postfix 2.5.5 I tried putting myhost.domain.tld in 
> /etc/postfix/myhostname.cf and then defined myhostname = 
> /etc/postfix/myhostname.cf in main.cf.

Perhaps surprisingly, Postfix actually behaves as documented.
Where does Postfix documentation say that myhostname understands
file names?

> Since this does not work, is there an available option to move 
> myhostname out of main.cf and into another file name or type?

To set a fixed Postfix name, set the right hostname in main.cf, or
set the right hostname in the kernel.  If you need to change the
Postfix name constantly, then that is an indication of illegitimate
activities.

        Wietse

Reply via email to