From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83295 Path: news.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: nnimap fails with TLS error when trying to open a davmail server Date: Fri, 07 Jun 2013 22:58:57 +0200 Organization: Probably a good idea Message-ID: <87li6lk57y.fsf@dod.no> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1370638905 30187 80.91.229.3 (7 Jun 2013 21:01:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Jun 2013 21:01:45 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M31561@lists.math.uh.edu Fri Jun 07 23:01:41 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 1Ul3n0-0005XW-DJ for ding-account@gmane.org; Fri, 07 Jun 2013 23:01:38 +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 1Ul3kn-0004Nn-CU; Fri, 07 Jun 2013 15:59:21 -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 1Ul3kk-0004NW-DE for ding@lists.math.uh.edu; Fri, 07 Jun 2013 15:59:18 -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 1Ul3ki-0004fs-Be for ding@lists.math.uh.edu; Fri, 07 Jun 2013 15:59:17 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Ul3kg-0000Hs-Df for ding@gnus.org; Fri, 07 Jun 2013 22:59:14 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ul3ke-0003OX-Pe for ding@gnus.org; Fri, 07 Jun 2013 22:59:12 +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 ; Fri, 07 Jun 2013 22:59:12 +0200 Original-Received: from sb by cm-84.208.246.141.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 Jun 2013 22:59:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 52 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:55EqU3hZidclacWatLDiRvs7Nkw= X-Spam-Score: -2.4 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83295 Archived-At: Platform: Intel P4, debian testing ("jessie"), GNU Emacs 24.3.1 (i486-pc-linux-gnu, GTK+ Version 3.4.2) of 2013-04-13 on murphy, modified by Debian libgnutls26:i386 2.12.20-6 Ma Gnus v0.8 davmail 4.3.1-2134-1 I have started a davmail http://davmail.sourceforge.net/ server that talks to an Exchange server. But nnimap fails when trying to open the IMAP server presented by davmail. Here is the server definition (created in the server buffer, not as a select method): (nnimap "davmail" (nnimap-server-port 1143) (nnimap-address "localhost") (nnimap-stream starttls)) The error message from the Messages buffer, is: Opening connection to localhost... Unable to open server nnimap+davmail due to: Buffer *nnimap localhost 1143 *nntpd**-720412 has no process If I change the server definition to (nnimap "davmail" (nnimap-server-port 1143) (nnimap-address "localhost") (nnimap-stream ssl)) or (nnimap "davmail" (nnimap-server-port 1143) (nnimap-address "localhost") (nnimap-stream tls)) then I get the following error message in the Messages buffer (the same error message for both of the above nnimap-stream values): Opening connection to localhost via tls... gnutls.c: [0] (Emacs) fatal error: An unexpected TLS packet was received. gnutls.el: (err=[-15] An unexpected TLS packet was received.) boot: (:priority NORMAL :hostname localhost :loglevel 0 :min-prime-bits 256 :trustfiles (/etc/ssl/certs/ca-certificates.crt) :crlfiles nil :keylist nil :verify-flags nil :verify-error nil :verify-hostname-error nil :callbacks nil) Unable to open server nnimap+davmail due to: GnuTLS error: #>, -15 gnutls.c: [0] (Emacs) fatal error: An unexpected TLS packet was received. [100 times] indent-relative: Buffer is read-only: # Does anyone know what might cause this? Has anyone else had any success with davmail? Thanks! - Steinar