Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

How to send mail via roundcube when I disable mail() function in php.ini

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
Di3g0BMT
Posts: 2
Joined: Tue Nov 08, 2016 5:08 am

How to send mail via roundcube when I disable mail() function in php.ini
  • Quote

Post by Di3g0BMT » Tue Nov 08, 2016 5:15 am

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!
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: How to send mail via roundcube when I disable mail() function in php.ini
  • Quote

Post by skurudo » Wed Dec 07, 2016 1:25 pm

Yep, there is

in httpd/apache users config file (directory section)

Code: Select all

php_admin_value sendmail_path "tee mail.out > /dev/null"
viewtopic.php?f=10&t=13015&p=53963#p53963
Top

mike08
Posts: 160
Joined: Sat Jun 20, 2015 7:12 am

Os: Debian 6x
Web: apache + nginx
Re: How to send mail via roundcube when I disable mail() function in php.ini
  • Quote

Post by mike08 » Wed Dec 07, 2016 1:33 pm

Or you can just switch roundcube to use smtp instead of that mail function: viewtopic.php?f=41&t=12623&start=10#p50186
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password