[Tickets #4943] Re: Error connecting to IMAP server: [0] Error 0.

bugs@bugs.horde.org bugs at bugs.horde.org
Thu Jan 25 09:38:31 PST 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=4943
-----------------------------------------------------------------------
 Ticket             | 4943
 Updated By         | Michael Slusarz <slusarz at horde.org>
 Summary            | Error connecting to IMAP server: [0] Error 0.
 Queue              | IMP
 Version            | 4.1.3
 Type               | Bug
-State              | Assigned
+State              | Feedback
 Priority           | 1. Low
 Owners             | Michael Slusarz
-----------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2007-01-25 09:38) wrote:

>> PHP Warning:  fsockopen(): no SSL support in this build in
>> This message can't be clearer.
>
> To  me, that message makes no sense at all, given that
> - imp/test.php connects to the server via SSL without any problem, 
> and tells me the number of messages in my mailbox,

Because it is using the c-client only, not the PHP-based IMAP client.

> - imp/login.php gets a sensible response from the server when the 
> user credentials are wrong,

Because c-client rejects the login before we even have an opportunity to
call the PHP imap client.

> - test.php, imp/test.php, and phpinfo() unanimously report that SSL 
> support is available, and sufficient, in my PHP installation.

If that is the case, then there is something borked in your PHP install.

> I rather conjecture that Imp 4.1.3 uses some particular feature of 
> PHP 5.1's SSL support, which is not present in earlier PHP versions 
> (in contrast to the documentation in imp/servers.php.dist). However, 
> I have not the knowledge to prove, or disprove, that conjecture.

That is a totally bogus statement.

Directly from servers.php.dist:

*           The ssl and tls options will only work if you've compiled PHP
*           against a SSL-enabled version of c-client, used the
*           --with-imap-ssl and --with-openssl flags when compiling PHP,
*           and you have a mail server server which supports SSL.




More information about the bugs mailing list