Re: SELINUX and sending email using PEAR
I ran "setsebool -P httpd_can_sendmail on" but it still was not working.
I then started working backwards to resolve the problem. When I configured the server, I followed that NSA documentation on securing redhat. The setting that I changed was not having sendmail start on boot:
chkconfig sendmail off
As a test, I started sendmail and it worked- emails sent! So I allowed sendmail to start on boot again:
chkconfig sendmail on