New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SMTP Error: Authentication failure: SMTP server does not support authentication #7130
Comments
Some config defaults changed in 1.4. See #7011. Because smtp_pass/smtp_user is now set and your server does not allow authentication over insecure channel, you have to either disable authentication (clearing smtp_pass/smtp_user) or add tls:// prefix to smtp_server. |
For me, "clearing" the variables means the following (assigning said variables to
(This might be obvious to most Roundcube admins, but I'm a newbie.) |
It could also mean to comment out those 2 lines. Did you try that? |
Thanks. I just did. Commenting out the above lines in So there seems to be 3 different ways one can interpret "clearing" a variable, depending on the context:
If there's enough confusion in the Roundcube community about this, would it be helpful to clarify things surrounding "clearing a variable"? |
I have an SMTP server with no auth for the local subnet. I came here because although I unclicked "Use the current IMAP username and password for SMTP authentication", it wasn't clear that I had to delete the %u and %p to not use them and I was getting SMTP auth failures. Not to step on toes but I would suggest this could be cleaned up a little as it's a bit ambiguous. (Edit: To be clear, it's all working fine now though 👍) |
Piping in late on a two-year-old closed thread, but since I have also encountered the same error, I'd like just to add my .02 ... Under PHP 7.4/Roundcube 1.4.3, 'clearing' those variables really means: $config['smtp_user'] = '';
$config['smtp_pass'] = ''; Setting them to Under Ubuntu 20.04, Roundcube will be installed with at least a $config['smtp_user'] = '%u';
$config['smtp_pass'] = '%p'; So these two configuration variables must be explicitly overwritten in Of course, some Roundcube configurations may be even more convoluted and include several other configuration files beyond these. Actually, I had a few of those around, which I thought weren't being included, but, to be on the safe side, I backed them up and deleted them — just keeping An extra 👍 on the request for documenting this properly! After all, it might just require an extra comment line on |
А ларчик просто открывался, 3 дня гугления проб и ошибок... Чувак ты сделал мой день. Спасибо!!!!! thank you dear friend you made my day !!! |
After a new installation
Overriding the default fixes that problem. |
Same error, fix suggested in first response works too,... // default.inc.php
$config['smtp_server'] = 'localhost';
// config.inc.php
$config['smtp_server'] = 'tls://localhost'; |
Hello,
I get the error when trying to send mail:
[27-Dec-2019 00:16:41 +0200]: SMTP Error: Authentication failure: SMTP server does not support authentication (Code: ) in /usr/share/nginx/html/webmail/program/lib/Roundcube/rcube.php on line 1689 (POST /webmail/?_task=mail&_unlock=loading1577398601567&_framed=1&_lang=bg&_action=send)
when using Roundcube 1.4.1. With Roundcube 1.3.10 on the same server and settings there is no problem.
The text was updated successfully, but these errors were encountered: