I'm trying to get dovecot working with various clients on my new mailserver. I installed the base rc2 that comes with OpenBSD 4.0, then upgraded to rc14 when I ran into problems with TLS and Thunderbird. The server has no problems with Mail.app on my laptop, but any connection attempts from Thunderbird timeout after the TCP handshake. 13:53:41.074438 66.x.x.2.50483 > 38.x.x.248.993: S 3787736038:3787736038(0) win 65535 <mss 1460,nop,wscale 0,nop,nop,timestamp 2064284084 0,sackOK,eol> (DF) 13:53:41.074554 38.x.x.248.993 > 66.x.x.2.50483: S 1565942120:1565942120(0) ack 3787736039 win 16384 <mss 1460,nop,nop,sackOK,nop,wscale 0,nop,nop,timestamp 2681405076 2064284084> (DF) 13:53:41.459434 66.x.x.2.50483 > 38.x.x.248.993: . ack 1 win 65535 <nop,nop,timestamp 2064284084 2681405076> (DF) 13:53:47.028621 66.x.x.2.50483 > 38.x.x.248.993: F 1:1(0) ack 1 win 65535 <nop,nop,timestamp 2064284096 2681405076> (DF) The only thing logged by dovecot is a disconnection event. There is nothing else logged, even with ssl_verbose enabled. Nov 17 14:23:05 colo2 dovecot: imap-login: Disconnected: rip=66.x.x. 2, lip=38.x.x.248, TLS handshake This happens with Thunderbird 1.5.0.4 and 1.5.0.8 on Mac OS X, and Thunderbird 1.5.0.7 on Windows 2000. Any ideas would be greatly appreciated. Thanks, -- Jason Dixon DixonGroup Consulting http://www.dixongroup.net
On Nov 17, 2006, at 2:33 PM, Jason Dixon wrote:> I'm trying to get dovecot working with various clients on my new > mailserver. I installed the base rc2 that comes with OpenBSD 4.0, > then upgraded to rc14 when I ran into problems with TLS and > Thunderbird. The server has no problems with Mail.app on my > laptop, but any connection attempts from Thunderbird timeout after > the TCP handshake. > > This happens with Thunderbird 1.5.0.4 and 1.5.0.8 on Mac OS X, and > Thunderbird 1.5.0.7 on Windows 2000. Any ideas would be greatly > appreciated.To add insult to injury, Office 2003 on Windows XP works fine. -- Jason Dixon DixonGroup Consulting http://www.dixongroup.net
Jason Dixon wrote: This happens with Thunderbird 1.5.0.4 and 1.5.0.8 on Mac OS X, and> Thunderbird 1.5.0.7 on Windows 2000. Any ideas would be greatly > appreciated.Dovecot works well with imaps and pops. I'm kind of surprised to hear that your Mail.app works. Is it really using TLS? Anyway, I'm sure if you switch to ssl instead, it will work. I have Thunderbird on Mac and Win doing it that way. There is some info in the wiki about how to configure. Mark
On Fri, 2006-11-17 at 14:33 -0500, Jason Dixon wrote:> I'm trying to get dovecot working with various clients on my new > mailserver. I installed the base rc2 that comes with OpenBSD 4.0, > then upgraded to rc14 when I ran into problems with TLS and > Thunderbird. The server has no problems with Mail.app on my laptop, > but any connection attempts from Thunderbird timeout after the TCP > handshake.The SSL code has changed a lot since rc2, but I can't really see why this would be happening. Are rc2 and rc14 using the same OpenSSL library versions? And if you downgrade to rc2, does the problem go away? If you apply this patch, what does it log when Thunderbird logs in? RCS file: /var/lib/cvs/dovecot/src/login-common/ssl-proxy-openssl.c,v retrieving revision 1.37.2.12 diff -u -r1.37.2.12 ssl-proxy-openssl.c --- src/login-common/ssl-proxy-openssl.c 8 Nov 2006 20:51:30 -0000 1.37.2.12 +++ src/login-common/ssl-proxy-openssl.c 18 Nov 2006 20:20:28 -0000 @@ -323,6 +323,7 @@ int err; err = SSL_get_error(proxy->ssl, ret); + i_info("%s: ret=%d, err=%d", func_name, ret, err); switch (err) { case SSL_ERROR_WANT_READ: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20061118/1cee31f0/attachment.bin>