From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83301 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 21:22:13 +0200 Organization: Probably a good idea Message-ID: <874nd8jtlm.fsf@dod.no> References: <87li6lk57y.fsf@dod.no> <87hah8ka7m.fsf@dod.no> <878v2kk753.fsf@dod.no> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1370719446 25988 80.91.229.3 (8 Jun 2013 19:24:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Jun 2013 19:24:06 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M31567@lists.math.uh.edu Sat Jun 08 21:24:07 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 1UlOkA-0005Ld-91 for ding-account@gmane.org; Sat, 08 Jun 2013 21:24:06 +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 1UlOid-0001cx-Ij; Sat, 08 Jun 2013 14:22:31 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1UlOia-0001ci-NI for ding@lists.math.uh.edu; Sat, 08 Jun 2013 14:22:28 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1UlOiY-0006Hr-Cf for ding@lists.math.uh.edu; Sat, 08 Jun 2013 14:22:28 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1UlOiW-0006M3-EB for ding@gnus.org; Sat, 08 Jun 2013 21:22:24 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UlOiU-0004L6-JY for ding@gnus.org; Sat, 08 Jun 2013 21:22:22 +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 21:22:22 +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 21:22:22 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 65 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:9/XrrFLPnwduXKN7IwhZzTWLI5g= X-Spam-Score: -2.4 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83301 Archived-At: >>>>> Steinar Bang : > 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 The error message from gnus with (nnimap-stream starttls) was: Opening connection to localhost... Unable to open server nnimap+davmail due to: Buffer *nnimap localhost 1143 *nntpd**-720412 has no process So I googled that error message instead, specifically: Unable to open server nnimap+davmail due to and found this article: http://article.gmane.org/gmane.emacs.gnus.user/15365 nntp://news.gmane.org/gmane.emacs.gnus.user/15365 I changed the server definition to: (nnimap "davmail" (nnimap-server-port 1143) (nnimap-address "localhost") (nnimap-stream network)) (ie. "(nnimap-stream network)" instead of "(nnimap-stream starttls)") and then the server opened and I could see the groups on that server. I subscribed three groups, but when trying to enter them, I got gnus-select-newsgroup: Wrong type argument: number-or-marker-p, OK I started a new emacs, ran (setq debug-on-error t) and then M-x load-library nnimal.el RET to load nnimap as emacs source, and then started Gnus. This time I was able to enter the nnimap groups, though a group with 444 articles loaded veeeeery slooowly, and when I finally was able to enter it, I saw only the newest article in the group, and like the author of the above article, I saw "nobody" as the sender of that article. (I didn't use agent on that nnimap server. That might have speeded up things, but it would have added an extra error source, and would have ended up saving multiple copies of the same office documents on my local hard disk...) So in short, nnimap with davmail doesn't work in a useful manner right now. However, back in October 2010, with the new nnimap freshly in place, nnimap+davmail seemed to be working: http://thread.gmane.org/gmane.emacs.gnus.general/69762/focus=73759 nntp://news.gmane.org/gmane.emacs.gnus.general/73759 Are anyone else successfully using davmail and nnimap these days? Thanks! - Steinar