How to make httpd_can_sendmail true even after Linux box reboot ?

Jan

17

2013

I have setup the variable httpd_can_sendmail to true such that my php files can send emails while runnig on Apache. After the Linux box reboot I have to do it all over again.
How can I set httpd_can_sendmail true permanently ?

Tags: , , , , , ,

In: Linux Asked By: [alex] (Anonymously)
vote
Answer #1

Basically add the -P switch:

$ setsebool -P httpd_can_sendmail 1

See this link:

http://centraladvisor.com/it/os-it/linux-os-it/how-to-make-php-send-mail-from-linux/

Answers Answered By: arvin [ Grey Star Level]

Answer this Question

Enter name & email to post an Answer. You can also Login / Join us

For a better management of this site please consider Logging in / Joining us before posting a Question. It makes everithing easier for us.

Please enter the captcha code bellow.
Logged in users don't have to use captchas. Don't have an account? Join us!

 

Link Exchange:

You can add url to the best of the internet directory. Our url is added under Reference Directory
HE Blog Directory WEB LOG SHOWWEB LOG SHOW