Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: pedro.alex.silva@gmail.com
To: info-gnus-english@gnu.org
Subject: opening nnimap local server initially fails
Date: Mon, 8 Apr 2013 15:51:19 -0700 (PDT)	[thread overview]
Message-ID: <61877500-912f-473d-90a5-3996d71d43fc@googlegroups.com> (raw)

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

             reply	other threads:[~2013-04-08 22:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-08 22:51 pedro.alex.silva [this message]
2013-08-01 12:17 ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=61877500-912f-473d-90a5-3996d71d43fc@googlegroups.com \
    --to=pedro.alex.silva@gmail.com \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).