[SOLVED] Open /etc/postfix/main.cf: Permission denied

General support questions
User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Open /etc/postfix/main.cf: Permission denied

Post by TrevorH » 2014/08/10 23:20:22

If you want to send email from with httpd then that selinux boolean needs to be persistently on.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

altiris
Posts: 334
Joined: 2013/05/31 01:27:50

Re: Open /etc/postfix/main.cf: Permission denied

Post by altiris » 2014/08/11 17:20:55

TrevorH wrote:If you want to send email from with httpd then that selinux boolean needs to be persistently on.
I believe it is, I have used the setsebool -P commands in the past (for centos 6 it was setsebool -P httpd_can_network_connect=1) and even with rebooting the machine it would still work.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: [SOLVED] Open /etc/postfix/main.cf: Permission denied

Post by TrevorH » 2014/08/11 20:43:40

httpd_can_network_connect != httpd_can_sendmail
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

altiris
Posts: 334
Joined: 2013/05/31 01:27:50

Re: [SOLVED] Open /etc/postfix/main.cf: Permission denied

Post by altiris » 2014/08/11 20:52:18

TrevorH wrote:httpd_can_network_connect != httpd_can_sendmail
Don't know what != means or if that was a typo for just = but when I tried httpd_can_network_connect it still did not work. I needed to do httpd_can_sendmail for it to work on CentOS 7.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: [SOLVED] Open /etc/postfix/main.cf: Permission denied

Post by TrevorH » 2014/08/11 21:36:52

!= is "not equal"
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply