Release Support > Release Discussion
Why SMTP Error (250): Authentication failed?
maximise:
Hello.
Roundcube is configured like this:
$rcmail_config['smtp_server'] = 'localhost';
$rcmail_config['smtp_port'] = 25;
$rcmail_config['smtp_user'] = '%u';
$rcmail_config['smtp_pass'] = '%p';
$rcmail_config['smtp_auth_type'] = '';
$rcmail_config['smtp_auth_cid'] = null;
$rcmail_config['smtp_auth_pw'] = null;
$rcmail_config['smtp_helo_host'] = 'localhost.localdomain';
$rcmail_config['smtp_timeout'] = 0;
when trying to send mail, an error occurs:
SMTP Error: SMTP error: Authentication failure: SMTP server does not support authentication (Code: ) in /usr/share/roundcubemail/program/include/rcmail.php on line (POST /mail/?_unlock=loading1369676645733&_lang=ru?_task=mail&_action=send)
Please, help.
JohnDoh:
your SMTP server does not support authentication so you should set:
$rcmail_config['smtp_user'] = '';
$rcmail_config['smtp_pass'] = '';
PS. what version of roundcube are you running? $rcmail_config was depreciate and replaced with $config in version 1.0
maximise:
Roundcube 1.3.8.
I tried
$rcmail_config['smtp_user'] = '';
$rcmail_config['smtp_pass'] = '';
And now messages are sent, but inbox of addressee are empty. Why?
alec:
Authentication might be disabled on insecure channel. I would rather propose to try with:
$rcmail_config['smtp_server'] = 'tls://localhost';
$rcmail_config['smtp_port'] = 587;
$rcmail_config['smtp_user'] = '%u';
$rcmail_config['smtp_pass'] = '%p';
maximise:
--- Quote from: alec on February 08, 2019, 03:17:43 AM ---Authentication might be disabled on insecure channel. I would rather propose to try with:
$rcmail_config['smtp_server'] = 'tls://localhost';
$rcmail_config['smtp_port'] = 587;
$rcmail_config['smtp_user'] = '%u';
$rcmail_config['smtp_pass'] = '%p';
--- End quote ---
I tried that. As a result, there was another error sending the message.
Navigation
[0] Message Index
[#] Next page
Go to full version