Jeroen van Wolffelaar wrote:
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 :).
I'm not sure about that. All references to TLS for IMAP I've seen are
talking about STARTTLS on port 143. Not about 'normal' TLS on port 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.
That information is in my first message, but I'll repeat it:
Squirrelmail is unable to connect to my local Courier IMAP server via TLS.
/etc/courier/imapd-ssl:
IMAPDSSLSTART=NO
IMAPDSTARTTLS=YES
IMAP_TLS_REQUIRED=0
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]