Redefining myhosname to a location outside of main.cf

2010-03-15 Thread 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. Since this does not work, is there an available option to move myhostname out of main.cf and into another file name or type?

Re: Redefining myhosname to a location outside of main.cf

2010-03-15 Thread Wietse Venema
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

Re: Redefining myhosname to a location outside of main.cf

2010-03-15 Thread VR
On 3/15/2010 11:22 AM, Wietse Venema wrote: 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

Re: Redefining myhosname to a location outside of main.cf

2010-03-15 Thread Stan Hoeppner
Wietse Venema put forth on 3/15/2010 10:22 AM: 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