How to send mail via roundcube when I disable mail() function in php.ini
How to send mail via roundcube when I disable mail() function in php.ini
Hello guy,
I had disabled mail() php function because of some security reasons, and roundcube cannot send mail via mail() function. But somehow VestaCP still send mail through mail() function. I want my webmail can send mail via mail() function like VestaCP when I still disable mail() function in /etc/php.ini. How can I do that?
Thanks!
I had disabled mail() php function because of some security reasons, and roundcube cannot send mail via mail() function. But somehow VestaCP still send mail through mail() function. I want my webmail can send mail via mail() function like VestaCP when I still disable mail() function in /etc/php.ini. How can I do that?
Thanks!
Re: How to send mail via roundcube when I disable mail() function in php.ini
Yep, there is
in httpd/apache users config file (directory section)
viewtopic.php?f=10&t=13015&p=53963#p53963
in httpd/apache users config file (directory section)
Code: Select all
php_admin_value sendmail_path "tee mail.out > /dev/null"
Re: How to send mail via roundcube when I disable mail() function in php.ini
Or you can just switch roundcube to use smtp instead of that mail function: viewtopic.php?f=41&t=12623&start=10#p50186