fatal: open /etc/postfix/main.cf: Permission denied

On a CentOS server, when sending mail from PHP scripts, mail failed to work. On checking postfix log file (/var/log/maillog), i see following error.

To fix this, disable selinux

To permanantly disable SELinux, run

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published.