[imp] Cannot connect via imap/ssl

Otto Stolz Otto.Stolz at uni-konstanz.de
Sat Jul 8 08:21:12 PDT 2006


Hello,

I had written:
- Imp does not connect to the IMAP server via SSL or TSL,
   giving an incomprehensible error message, in the Login screen.

Michael M Slusarz has explained:
> You haven't read your documentation then.  TLS can not be used with 
>  PHP 4.4.2.  You need at least PHP 5.1.0.
...
> imp/config/servers.php

Ah, that is about TSL, and I had indeed read that.
That docu recommends:
> If using a version of PHP less than 5.1.0 [...]
> use a direct connection to a SSL enabled IMAP port
> (e.g. 'imap/ssl').

My problem actually occurs with
   'protocol' => 'imap/ssl',
as I had explained further down, in my 1st note,
and, btw., in the subject line.

I shouldn't have mentioned TSL, in my summary,
and I am sorry about the confusion that has caused.

Now, the problem still is, that Imp says
> Error connecting to IMAP server. 0 : Error 0. 
whenever I try to connect via 'protocol' => 'imap/ssl',
whilst imp/test.php recommends that protocoll and can
connect so to the server.

Thanks for any hints.

Best wishes,
   Otto Stolz


---------------------- More Details -------------------

My environment:
- Horde 3.1.1
- Imp H3 (4.1.1)
- PEAR: I don't know; imp/test says: "Recent PEAR: Yes"
- PHP 4.4.2
- Apache/1.3.34 (Unix) mod_ssl/2.8.25 OpenSSL/0.9.7e PHP/4.4.2
- Solaris: SunOS 5.9

Response from imp/test.php (excerpt):
 > The following configurations were successful and may be used in your 
imp/config/servers.php file:
...
 >     Configuration 3
 >         'server' => 'popserver.uni-konstanz.de'
 >         'protocol' => 'imap/ssl'
 >         'port' => '993'

imp/config/servers.php (excerpt):
 > $servers['RZ-Cyrus'] = array(
 >     'name' => _("Central Mail Service"),
 >     'server' => 'popserver.uni-konstanz.de',
 >     'hordeauth' => false,
 >     'protocol' => 'imap/ssl',
 >     'port' => '993',
 >     'maildomain' => 'uni-konstanz.de',
 >     'smtphost' => 'mailhub.uni-konstanz.de',
 >     'smtpport' => 25,
 >     'realm' => '',
 >     'preferred' => '',
 >     'quota' => array(
 >         'driver' => 'cyrus',
 >         'params' => array()
 >     ),
 >     'acl' => array(
 >         'driver' => 'rfc2086',
 >     ),
 > );


More information about the imp mailing list