Optional TLS

OBATA Akio obata at zit.to
Sun Feb 23 23:36:32 EST 2003


Cyrus IMAP supports both (plain port & SSL port).
In plain port connection, you can use STARTTLS command and 
change to TLS (SSL) connection.
IMAP c-client library (used by PHP imap extension) support
TLS, but PHP don't support. So, connection is failed.

I don't now TWING, but probably do like a
 imap_open("{localhost:143/imap}INBOX", "username", "password");
change to
 imap_open("{localhost:143/imap/notls}INBOX", "username", "password");
or, change your configuration to do so.

Quoting Mobeen Azhar <moby at mobsternet.com>:

> I have Cyrus IMAPD version 2.1.12 running on FreeBSD 4.7.  I recently
> enabled TLS.  Everything works fine and I can successfully connect to
> the
> IMAP server via IMAPS (port 993) from mail clients such as Outlook.
> However, I also run TWIG (a web based mail/groupware front-end written
> in
> PHP) on the same server and use TWIG to present email to users. 
> Apparently
> TWIG is not capable of using IMAPS and requires just plain IMAP.  Also
> once
> I enabled TLS, the server now seems to require it and plain IMAP
> clients
> cannot connect to it.  Is it possible to have Cyrus IMAPD allow both,
> plain
> IMAP on port 143 and secure IMAP on port 993 at the same time?
> 
> Thanks in advance for any help,
> --Moby
> 
> 
> They that can give up essential liberty to obtain a little temporary
> safety
> deserve neither liberty nor safety.  -- Benjamin Franklin
> 
> 

-- 
OBATA Akio / obata at zit.to




More information about the Info-cyrus mailing list