Enabling sendmail for feedback form with SELinux

143 views
Skip to first unread message

db...@essex.ac.uk

unread,
Aug 18, 2021, 3:11:55 PM8/18/21
to Skosmos Users
I don't have an issue but just wanted to pass on a tip so that no-one has to waste a day like I did today trying to get the feedback form to work.
We're running CentOS7 and if you have SELinux enabled, make sure you run

sudo setsebool httpd_can_sendmail 1 

and then everything works fine out of the box (see https://stackoverflow.com/questions/12804841/how-can-apache-be-allowed-to-send-email ).

Best wishes, Darren Bell (UK Data Archive)


Reply all
Reply to author
Forward
0 new messages