tail -f /var/log/httpd/error_log
sendmail: fatal: chdir /var/spool/postfix: Permission denied
tail -f /var/log/httpd/error_log
sendmail: fatal: chdir /var/spool/postfix: Permission denied
# service postfix status
# getsebool httpd_can_sendmail
Returned:
httpd_can_sendmail --> off
# setsebool httpd_can_sendmail 1
# setsebool -P httpd_can_sendmail 1