Skip to content

Instantly share code, notes, and snippets.

@calebbrewer
Created August 7, 2013 14:01
Show Gist options
  • Save calebbrewer/6174290 to your computer and use it in GitHub Desktop.
Save calebbrewer/6174290 to your computer and use it in GitHub Desktop.
You can check if SELinux is blocking sendmail by running:
/usr/sbin/getsebool httpd_can_sendmail
...which will report:
httpd_can_sendmail --> {on|off}
...and if it is off, you can turn it on using
sudo setsebool -P httpd_can_sendmail 1
with the "-P" for persistent (across reboots).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment