Roundcube unresponsible when using ssl/tls without tls:// prefix

Issue #47 wontfix
Jan-Tristan Kruse created an issue

When I try to connect to an IMAP-Server via SSL/TLS on Port 993 and do not enter the Hostname with tls:// prefix (i.e. imap.example.com instead of tls://imap.example.com) the whole Roundcube gets unresponsive for this session when I try to switch to the new identity.

The setting “Secure connection (TLS)” is enabled.

The Log shows the following:

IMAP Error: Login failed for test@example.com against imap.example.com. Empty startup greeting (imap.example.com:993) in /home/roundcube/program/lib/Roundcube/rcube_imap.php on line 202 (GET /?_task=mail&_mbox=INBOX)

The expected behavior for me would be a hint, that I should use the tls:// prefix, and obviously that I’m still able to change settings.

Comments (8)

  1. Zach Poff

    I’m thankful that this issue got opened. I couldn’t figure out why my IMAP connections were failing, but adding the tls:// prefix fixed it.

  2. Jan-Tristan Kruse Account Deactivated reporter

    Sadly, this does not solve the issue. The session still gets unresponsive when using a Port which expects TLS (993) WITHOUT using the TLS-Button in the ident_switch Plugin.

  3. Boris Gulay repo owner

    Hi. Port 993 is not for TLS. It’s SSL.

    Plugin does not support SSL because it should be changed to TLS years ago.

  4. Chris Marsh

    Glad I spotted this issue. adding ssl:// to my imap url and tls:// to my smtp url fixed the hangs and failures I was experiencing.

  5. Log in to comment