I am trying to set up a postfix server for smtp relay. Centos 5.5
I have followed http://mhawthorne.net/posts/postfix-configuring-gmail-as-relay.html but am getting a FAILED error when trying to restart or reload postfix.
When I do:
cat maillog
I get:
fatal: open /etc/postfix/main.cf: Permission denied
Here is what I have tried:
chown postfix /etc/postfix/main.cf
chmod u+rwx /etc/postfix/main.cf
After that, I do:
ls -l /etc/postfix/main.cf
Which gives me:
-rwx------. 1 postfix anotheruser 27531 Apf 29 12:19 /etc/postfix/main.cf
No dice. Same error. I even tried temporarily doing chmod 777 but got same error.
Any ideas on the permissions problem? I am assuming it is running the service as the postfix user.
Thanks