Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: inquisitive on October 08, 2016, 07:43:14 AM

Title: Not able to send mail :smtp error 535 (config ok)
Post by: inquisitive on October 08, 2016, 07:43:14 AM
I made changes in config.inc.php  set smtp authentication properly and able to send mails to external domains successfully. But once user login to roundcube and try to send mail to external user they get SMTP Authentication (535) error.

I have two config files active config.inc.php  defaults.inc.php

By changing config.inc.php i am able to send mail thru installer script, tried copying same settings to defaults.inc.php but no success please guide.
Title: Re: Not able to send mail :smtp error 535 (config ok)
Post by: SKaero on October 08, 2016, 06:51:35 PM
Settings should go in the config.inc.php the defaults.inc.php should never be changed since it is overwritten on upgrades.
Title: Re: Not able to send mail :smtp error 535 (config ok)
Post by: inquisitive on October 10, 2016, 02:19:10 AM
Thanks , i have to move all ldap related config to config file.

By the way i solved my problem by changing config.inc.php
from
$config['smtp_user'] = '%u';
to
$config['smtp_user'] = ";

But strange thing is installer script can send mail successfully with %u but roundcube front-end user can not.