Postfix not accepting parameters
hi
I am new to linux i am trying to set up a mail server for testing but I am stuck in beginning.
the problem is i am changing the parameters in main.cf file but postfix is not accepting them. its still inheriting my system's host name and domain
here is my configuration
my main.cf file
myhostname = mail.example.com
mydomain = example.com
myorigin = $domain
mydesitination = $mydomain, $myhostname, localhost.$mydomain, localhost
other all values are default.
my hosts file
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.1.3 m1 mail mail.example.com
And there is the problem
[root@m1 ~]# service postfix start
Starting postfix: [ OK ]
[root@m1 ~]# postconf -d myhostname
myhostname = m1
[root@m1 ~]# postconf -d mydomain
mydomain = m1
[root@m1 ~]# postconf -d myorigin
myorigin = $myhostname
[root@m1 ~]# postconf -d mydestination
mydestination = $myhostname, localhost.$mydomain, localhost
Nothing is accepted. I have test this on CentOS 5.5 and Fedora 14 both have the same result. Please Correct me that where i am wrong. Thanks
|