Hello,
I get the error when trying to send mail:
when using Roundcube 1.4.1. With Roundcube 1.3.10 on the same server and settings there is no problem.
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.
... you have to either disable authentication (clearing smtp_pass/smtp_user)...
For me, "clearing" the variables means the following (assigning said variables to null does not seem to work in my Roundcube 1.4.3 rig):
$config['smtp_user'] = '';
$config['smtp_pass'] = '';
(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 /etc/roundcube/config.inc.php does not work. (The SMTP auth fails when attempting to send an email.) Setting the variables = '' (an empty string) seems to be the only way to do make an SMTP-server-with-no-auth work (to send an email).
So there seems to be 3 different ways one can interpret "clearing" a variable, depending on the context:
nullIf 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 馃憤)
Most helpful comment
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.