MBOX-Line: From janssen at parc.com  Thu Jul 17 09:33:00 2008
To: imap-protocol@u.washington.edu
From: Bill Janssen <janssen@parc.com>
Date: Fri Jun  8 12:34:42 2018
Subject: [Imap-protocol] Re: issue with the iPhone IMAP client 
In-Reply-To: <08Jul16.163302pdt."58698"@synergy1.parc.xerox.com> 
References: <08Jul16.163302pdt."58698"@synergy1.parc.xerox.com>
Message-ID: <08Jul17.093304pdt."58698"@synergy1.parc.xerox.com>

> My server is running on port 8143, and here's the server-side record
> of the conversation:
> 
> S: * OK [CAPABILITY IMAP4rev1 LOGINDISABLED STARTTLS] UpLib IMAP Server (V4r1) ready.\r\n
> C: 1 STARTTLS\r\n
> S: 1 OK STARTTLS completed\r\n
> 
> [handshake takes place]
> 
> C: 2 LOGOUT\r\n
> 
> On the iPhone, I see "Cannot Get Mail / the connection to the server failed"

I've tried a few things: using the standard port, removing the
LOGINDISABLED, and sending all my capabilites up-front, instead of
waiting till after the STARTTLS, but nothing seems to help.

My guess is that the phone is objecting to the self-signed certificate
that I use to "secure" the server.  I installed the cert on the phone
as a "profile" (you convert it to DER, then mail it to yourself as an
attachment, then tap on the attachment), but that doesn't help.  I'll
try a properly signed cert from some big root authority next.

Any other ideas?

Bill

