Bluehost.com Web Hosting $6.95

[courier-users] SSL3_GET_RECORD:wrong version number with iPhone

This is a discussion on [courier-users] SSL3_GET_RECORD:wrong version number with iPhone within the Courier-Imap forums, part of the Mail Servers and Related category; Howdy, I just finished building a new courier-imap server on Ubuntu 7.10 "Gutsy Gibbon" using the ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-30-2008
David E. Wheeler
 
Posts: n/a
Default [courier-users] SSL3_GET_RECORD:wrong version number with iPhone

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;164216...et/marketplace
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 01:11 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0