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

bugs@bugs.horde.org bugs at bugs.horde.org
Thu Jan 25 07:33:19 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
 Created By         | Otto.Stolz at uni-konstanz.de
 Summary            | Error connecting to IMAP server: [0] Error 0.
 Queue              | IMP
 Version            | 4.1.3
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Owners             | 
+New Attachment     | Trace+config.txt
-----------------------------------------------------------------------


Otto.Stolz at uni-konstanz.de (2007-01-25 07:33) wrote:

When I try to login to an IMAP server via imap/ssl/novalidate-cert, I
receive the message "Error connecting to IMAP server: [0] Error 0" both in
the user interface and in the Horde log; that message originates on line
345 of imp/lib/IMAP/Client.php.

However when I try the login with a wrong password, I get the correct
"Authentication failed" message which clearly shows that the SSL
connection works. On the other hand, I can login to the very same server
via imap/notls, without any problem, so the imap/ssl/novalidate-cert
protocol must somehow be involved in the error outlined above.

The imp/test.php page can login to that server both via imap/notls and
imap/ssl/novalidate-cert, without any problem, which clearly shows that
the installation prerequisites (such as  an SSL-enabled version of
c-client) are met.

Attached is a text file containing:
- traces of the custom hook function arguments, and results, for three
login attempts as outlined above,
- the recommendation of the imp/test.php script,
- the pertinent declarations from imp/config/servers.php.




More information about the bugs mailing list