[Tickets #4017] RESOLVED: System capacilities test not working for IMAP servers that need TLS
bugs@bugs.horde.org
bugs at bugs.horde.org
Wed Jun 7 22:31:53 PDT 2006
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: https://dev.horde.org/horde/whups/ticket/?id=4017
-----------------------------------------------------------------------
Ticket | 4017
Updated By | Michael Slusarz <slusarz at horde.org>
Summary | System capacilities test not working for IMAP servers that need TLS
Queue | IMP
Version | HEAD
-State | Unconfirmed
+State | Resolved
Priority | 1. Low
Type | Bug
Owners |
-----------------------------------------------------------------------
Michael Slusarz <slusarz at horde.org> (2006-06-07 22:31) wrote:
> It seems like IMP_IMAPClient should try to do TLS mode if it's
> offered in the capability string unless the protocol argument
> includes 'notls' instead of the current behavior of only doing TLS
> when specifically requested. Does that sound correct?
No. Especially since PHP 5.1.0+ is required for TLS support, TLS should
*never* be used unless specifically requested by the user (i.e.
'imap/tls').
It does seem, however, that imap_open() will fallback to tls if no TLS
parameter is given (i.e. 'imap' will first try a plaintext login before
attempting a TLS login before giving up). So what we need to do is simply
remove the bare 'imap' and 'pop3' connection strings from test.php. The
examples in servers.php already correctly show that 'notls' is needed if we
don't want to use TLS connections.
I've gone ahead and removed the offending connection strings from test.php
in HEAD and IMP 4.1.2.
More information about the bugs
mailing list