How to troubleshoot mail goes from console and not working from web URL
Runtime Configuration
The behaviour of these functions is affected by settings in php.ini.
Mail configuration options
Name
Default
Changeable
Changelog
"0"
PHP_INI_PERDIR
Available since PHP 5.3.0.
NULL
PHP_INI_PERDIR
Available since PHP 5.3.0.
"localhost"
PHP_INI_ALL

"25"
PHP_INI_ALL
Available since PHP 4.3.0.
NULL
PHP_INI_ALL

"/usr/sbin/sendmail -t -i"
PHP_INI_SYSTEM


getsebool -a | grep mail

getsebool -a | grep mail reports

[code]
allow_postfix_local_write_mail_spool --> on
httpd_can_sendmail --> off
[/code[

I fixed it with the following
setsebool httpd_can_sendmail= on

0 comments:

Post a Comment