Neil wrote:
Hello:
I just did a fresh install of CentOS 6.2 on a virtual server.
I am trying to configure Postfix but it does not seem to be reading configuration directives from /etc/postfix/main.cf
Here is what I did to test it: vi /etc/postfix/main.cf and set this directive: myorigin = hello.world.com postfix reload postconf -d | grep myorigin
I get this output: append_at_myorigin = yes myorigin = $myhostname
Any ideas why it is not picking up the configuration?
Thanks, Neil
What you should do is run postconf without paramaters to a file and inspect that. In my case e.g. myorigin is set to $mydomain, but mydomain is set to the correct value.
Good lcuk
Adrian
Adrian:
That is a great suggestion. Thanks for the tip!
Neil
-- Neil Aggarwal, (972)834-1565, http://UnmeteredVPS.net/centos Virtual private server with CentOS 6 preinstalled Unmetered bandwidth = no overage charges
-----Original Message----- What you should do is run postconf without paramaters to a file and inspect that.
On 6/7/12 7:01 PM, Adrian P. van Bloois wrote:
Neil wrote:
Hello:
I just did a fresh install of CentOS 6.2 on a virtual server.
I am trying to configure Postfix but it does not seem to be reading configuration directives from /etc/postfix/main.cf
Here is what I did to test it: vi /etc/postfix/main.cf and set this directive: myorigin = hello.world.com postfix reload postconf -d | grep myorigin
I get this output: append_at_myorigin = yes myorigin = $myhostname
Any ideas why it is not picking up the configuration?
Thanks, Neil
What you should do is run postconf without paramaters to a file and inspect that. In my case e.g. myorigin is set to $mydomain, but mydomain is set to the correct value.
Good lcuk
Adrian
Command will show default values set in postfix: postconf -d | grep myorigin.
Command will show custom values set by you:
postconf -n | grep myorigin
Thanks / Regards