From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83142 Path: news.gmane.org!not-for-mail From: Pedro Silva Newsgroups: gmane.emacs.gnus.general Subject: opening local nnimap server through shell stream fails at startup Date: Wed, 08 May 2013 12:56:17 +0100 Message-ID: <87ip2t4rdq.fsf@pedrosilva.pt> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1368023934 2134 80.91.229.3 (8 May 2013 14:38:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 May 2013 14:38:54 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M31408@lists.math.uh.edu Wed May 08 16:38:53 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 1Ua5W7-0001lt-Of for ding-account@gmane.org; Wed, 08 May 2013 16:38:52 +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 1Ua5UM-0006kv-4v; Wed, 08 May 2013 09:37:02 -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 1Ua32b-00061t-01 for ding@lists.math.uh.edu; Wed, 08 May 2013 07:00:13 -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 1Ua32V-000290-T0 for ding@lists.math.uh.edu; Wed, 08 May 2013 07:00:12 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Ua32U-00064c-7j for ding@gnus.org; Wed, 08 May 2013 14:00:06 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ua32Q-0003Iz-In for ding@gnus.org; Wed, 08 May 2013 14:00:02 +0200 Original-Received: from wifi-pedrosilvix.inescn.pt ([194.117.27.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 May 2013 14:00:02 +0200 Original-Received: from psilva by wifi-pedrosilvix.inescn.pt with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 May 2013 14:00:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 38 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: wifi-pedrosilvix.inescn.pt User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:m8A9Z/hfMgmZtUW2yZoYX22GmIw= X-Spam-Score: -3.3 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83142 Archived-At: When I first start gnus, the connection to a local IMAP server (dovecot) via 'shell fails. It appears that 'nnimap-stream' is set to its default 'undecided', which means it first tries to use 'ssl, leading to the following error: --8<---------------cut here---------------start------------->8--- Unable to open server nnimap+dovecot due to: dovecot/993 System error --8<---------------cut here---------------end--------------->8--- Of course, this doesn't happen when dovecot is listening on localhost:993/ssl (but it *does* happen on localhost:143/network), but I'd rather use the tunnel method. Here is the relevant configuration: --8<---------------cut here---------------start------------->8--- (add-to-list 'gnus-secondary-select-methods '(nnimap "dovecot" (nnimap-address "localhost") (nnimap-stream shell) (nntp-authinfo-file "~/.authinfo.gpg") (nnimap-shell-program "/usr/lib/dovecot/imap") (nnir-search-engine imap))) --8<---------------cut here---------------end--------------->8--- I then go to the server buffer and close the connection, after which opening it again works fine, although I tipically get one or more duplicate {nnimap:dovecot} entries. This might conceivably have something to do with the thread started yesterday: http://thread.gmane.org/op.wwpniicrgfp24t@nolsbang01.one.steria.dom Any ideas on what's going on? Thanks for the help. -- Pedro