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.
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: even after, how to, httpd_can_sendmail true, linux box, permanently, reboot, setup
|
Best Selling Products - Updated Every Hour |
Hot New Releases - Updated Every Hour |
|
Top Gift Ideas |
Most Wished For Items |
Top Rated Products |
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.
©2013 Questions meet Answers on Software Development, Computer Science, Internet &Technology
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/