Howdy,

I just finished building a new courier-imap server on Ubuntu 7.10  
"Gutsy Gibbon" using the packages installed via apt-get. It's working  
great with my own self-signed certificate with TLS on port 143. Great,  
that is, except for my iPhone. The iPhone complains:

                  Cannot Get Mail
     Operation could not be completed (NSStreamSocketSSLErrorDomain  
error -9844.)

Tailing the log on the server, I see the dreaded:

Mar 30 14:20:51 crocker imapd: Connection, ip=[::ffff:24.21.175.208]
Mar 30 14:20:51 crocker imapd: couriertls: accept: error:1408F10B:SSL  
routines:SSL3_GET_RECORD:wrong version number
Mar 30 14:20:51 crocker imapd: Disconnected, ip=[::ffff: 
24.21.175.208], time=0, starttls=1

I tried tweaking both TLS_PROTOCOL and TLS_STARTTLS_PROTOCOL, setting  
them each to various things (SSL23, SSL2, TLS1), and while Mail.app on  
Leopard continues to work fine for most settings, it never does work  
on the iPhone.

The installed packages are:

   courier-imap       4.1.3-2ubuntu2  Courier Mail Server - IMAP server
   courier-imap-ssl   4.1.3-2ubuntu2  Courier Mail Server - IMAP over  
SSL

I get the same issue, BTW, when I try the openssl client:

   % openssl s_client -starttls imap -connect localhost:143
   CONNECTED(00000003)
   write:errno=104

The log for this says:

Mar 30 14:28:43 crocker imapd: Connection, ip=[::ffff:127.0.0.1]
Mar 30 14:28:43 crocker imapd: couriertls: connect: error:1408F10B:SSL  
routines:SSL3_GET_RECORD:wrong version number
Mar 30 14:28:43 crocker imapd: Disconnected, ip=[::ffff:127.0.0.1],  
time=0, starttls=1

Might there be something I've missed in the configuration, or might  
there be a bug in the Ubuntu builds of courier-imap?

Any advice or assistance would be much appreciated.

Best,

David

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to