Roundcube Community Forum

Release Support => Pending Issues => Topic started by: malamut on February 18, 2011, 04:14:05 PM

Title: [0.5.1] Unable to login to SMTP server with TLS
Post by: malamut on February 18, 2011, 04:14:05 PM
I have Postfix 2.7 on my Debian Lenny mail server with TLS support and this option in config:

smtpd_tls_auth_only = yes

Description (http://www.postfix.org/postconf.5.html#smtpd_tls_auth_only)

And I think because of it Roundcube can't send messages throw my SMTP. Test in installer say

Trying to send email...
SMTP send:  NOT OK(Authentication failure: SMTP server does not support authentication (Code: ))

So, I think, Roundcube try to authenticate before start encrypted connection, but in this case my server say, that it doesn't support authentication.

So Roundcube should do all checks in correct order: at first start TLS connection if server support it, and only after that try to check authorization.
Title: [0.5.1] Unable to login to SMTP server with TLS
Post by: malamut on February 18, 2011, 04:16:32 PM
Hm, sorry, I've change my SMTP hostname to tls://localhost and all now work perfectly!