SELinux

Allow HTTPD to send email

Allow HTTPD to send email SELinux

*****  Plugin httpd_can_sendmail (91.4 confidence) suggests   ****************

If you want to allow httpd to send mail
Then you must setup SELinux to allow this
Do
setsebool -P httpd_can_sendmail=1

*****  Plugin catchall (9.59 confidence) suggests   **************************

If you believe that sendmail.postfix should be allowed open access on the main.cf file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep sendmail /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp