Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* opening nnimap local server initially fails
@ 2013-04-08 22:51 pedro.alex.silva
  2013-08-01 12:17 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: pedro.alex.silva @ 2013-04-08 22:51 UTC (permalink / raw)
  To: info-gnus-english

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: opening nnimap local server initially fails
  2013-04-08 22:51 opening nnimap local server initially fails pedro.alex.silva
@ 2013-08-01 12:17 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2013-08-01 12:17 UTC (permalink / raw)
  To: info-gnus-english

pedro.alex.silva@gmail.com writes:

> (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.

Hm...  perhaps some of the groups have a buggy server definition?  Look
at the definition in the groups with `G E' on the group.

-- 
(domestic pets only, the antidote for overdose, milk.)
  No Gnus T-Shirt for sale: http://ingebrigtsen.no/no.php

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-01 12:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-08 22:51 opening nnimap local server initially fails pedro.alex.silva
2013-08-01 12:17 ` Lars Magne Ingebrigtsen

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).