From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83300 Path: news.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap fails with TLS error when trying to open a davmail server Date: Sat, 08 Jun 2013 16:29:44 +0200 Organization: Probably a good idea Message-ID: <878v2kk753.fsf@dod.no> References: <87li6lk57y.fsf@dod.no> <87hah8ka7m.fsf@dod.no> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1370701827 23064 80.91.229.3 (8 Jun 2013 14:30:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Jun 2013 14:30:27 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M31566@lists.math.uh.edu Sat Jun 08 16:30:27 2013 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UlK9w-0005iH-Bz for ding-account@gmane.org; Sat, 08 Jun 2013 16:30:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1UlK9f-0000QQ-Cq; Sat, 08 Jun 2013 09:30:07 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1UlK9e-0000QD-8q for ding@lists.math.uh.edu; Sat, 08 Jun 2013 09:30:06 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1UlK9c-0007gV-Vq for ding@lists.math.uh.edu; Sat, 08 Jun 2013 09:30:06 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1UlK9b-00081K-KO for ding@gnus.org; Sat, 08 Jun 2013 16:30:03 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UlK9b-0005U0-9Z for ding@gnus.org; Sat, 08 Jun 2013 16:30:03 +0200 Original-Received: from cm-84.208.246.141.getinternet.no ([84.208.246.141]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 08 Jun 2013 16:30:03 +0200 Original-Received: from sb by cm-84.208.246.141.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 08 Jun 2013 16:30:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 23 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.208.246.141.getinternet.no Mail-Copies-To: never User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:ZVsGmRY/+5vbRbDkDkO4CFKxuPg= X-Spam-Score: -2.4 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83300 Archived-At: >>>>> Steinar Bang : >>>>> Andreas Schwab : >> What happens when you connect directly with gnutls-cli? > sb@edwards:~$ gnutls-cli -V -p 1143 localhost > Resolving 'localhost'... > Connecting to '::1:1143'... > *** Fatal error: An unexpected TLS packet was received. > *** Handshake has failed > GnuTLS error: An unexpected TLS packet was received. Hm... telling gnutls-cli to use starttls actually seems to work, so why does nnimap (with linked-in gnutls.so) fail...? sb@edwards:~$ gnutls-cli -V -s -p 1143 localhost Resolving 'localhost'... Connecting to '::1:1143'... - Simple Client Mode: - Received[87]: * OK [CAPABILITY IMAP4REV1 AUTH=LOGIN MOVE] IMAP4rev1 DavMail 4.3.1-2134 server ready