From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/16236 Path: news.gmane.org!not-for-mail From: pedro.alex.silva@gmail.com Newsgroups: gmane.emacs.gnus.user Subject: opening nnimap local server initially fails Date: Mon, 8 Apr 2013 15:51:19 -0700 (PDT) Message-ID: <61877500-912f-473d-90a5-3996d71d43fc@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1365461709 13127 80.91.229.3 (8 Apr 2013 22:55:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Apr 2013 22:55:09 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Tue Apr 09 00:55:13 2013 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UPKxv-0000Qq-8W for gegu-info-gnus-english@m.gmane.org; Tue, 09 Apr 2013 00:55:07 +0200 Original-Received: from localhost ([::1]:37735 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPKxu-0007Pc-VU for gegu-info-gnus-english@m.gmane.org; Mon, 08 Apr 2013 18:55:06 -0400 X-Received: by 10.224.157.1 with SMTP id z1mr6830303qaw.8.1365461479477; Mon, 08 Apr 2013 15:51:19 -0700 (PDT) X-Received: by 10.49.85.35 with SMTP id e3mr1961463qez.7.1365461479463; Mon, 08 Apr 2013 15:51:19 -0700 (PDT) Original-Path: usenet.stanford.edu!t2no46292668qal.0!news-out.google.com!ef9ni9246qab.0!nntp.google.com!ca1no36779137qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=77.54.70.219; posting-account=9fUN1gkAAADvgNoMrrrrPlM2kESSjMXj Original-NNTP-Posting-Host: 77.54.70.219 User-Agent: G2/1.0 Injection-Date: Mon, 08 Apr 2013 22:51:19 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.gnus:87364 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:16236 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: ; Unable to open server nnimap+dovecot due to: dovecot/993 System error Of course, this doesn't happen when I'm dovecot is listening on localhost:993, but I'd rather use the tunnel method. Here is the relevant configuration: (setq gnus-secondary-select-methods '((nnimap "dovecot" (nnimap-stream shell) (nnimap-shell-program "/usr/lib/dovecot/imap") (nnir-search-engine imap)))) 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. Any ideas on what's going on? Thanks for the help. -- Pedro