On Sun, Mar 12, 2006 at 12:15:59AM +0100, Olaf van der Spek wrote: > Jeroen van Wolffelaar wrote: > >On Sat, Mar 11, 2006 at 09:41:11PM +0100, Olaf van der Spek wrote: > >>Warning: fsockopen() [function.fsockopen]: unable to connect to > >>tls://localhost:143 (Unknown error) in > > > >Eh, 143 is IMAP 2. IMAPS (imap over TLS) is 993. > > Isn't 993 SSL?
That's what I said. TLS is the new name for standardized SSL. > >Are you sure your imap > >server is actually listening TLS on 143? > > I can't guarantee it, but if I select TLS in Thunderbird it uses 143 and > if I select SSL it uses 993. Yes, I know that, that's because IMAP without TLS is 143 and with TLS is 993 :). > AFAIK it's initially using plaintext and then upgrades to TLS after a > STARTTLS command. Ah, but STARTTLS is something different to plain TLS. STARTTLS is an extension to plain IMAP to 'upgrade' a connection from unencrypted to using TLS, after the protocol discovers both sides support that. Because of that, it's also run on 143 typically, because you start out connecting normally. You didn't answer the question yet, though: What kind of IMAP server do you have (does it support TLS or STARTTLS, and on which port?). That's kind of essential information to actually to track down your bug. --Jeroen -- Jeroen van Wolffelaar [EMAIL PROTECTED] (also for Jabber & MSN; ICQ: 33944357) http://Jeroen.A-Eskwadraat.nl -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

