RoundCube sending error:
I cant send email from RoundCube, whywhy?!
Below is the error that I got while tailing the log, tail -f /var/cpanel/roundcube/log/errors
Error:
[17-Dec-2009 10:59:43] STARTTLS failed ():
[17-Dec-2009 11:05:13] Invalid response code received from server (421):
[17-Dec-2009 11:05:13] Invalid response code received from server (-1):
[17-Dec-2009 11:05:13 +0800] SMTP Error: SMTP error: Authentication failure: STARTTLS failed (Code: ) in /usr/local/cpanel/base/3rdparty/roundcube/program/steps/mail/func.inc on line 1248 (POST /3rdparty/roundcube/index.php?_task=mail
Google from Internet, it is a bug in PHP’s latest Net-SMTP module.
Temporary fix as below:
edit file:
// SMTP username (if required) if you use %u as the username RoundCube
// will use the current username for login
$rcmail_config['smtp_user'] = ‘%u’;
change to the below:
// SMTP username (if required) if you use %u as the username RoundCube
// will use the current username for login
$rcmail_config['smtp_user'] = ”;
usr/local/cpanel/base/3rdparty/roundcube/config/main.inc.php) and noticed a workaround until the module is patched/updated
It works!! Thanks!!But from exim maillog, it seems that there is no authentication leh?!
I have read for other solution is to run the command: /scripts/autorepair net_smtp_fix to fix the net_smtp, but I haven’t try yet.
~Cont~