Gnus development mailing list
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: ding@gnus.org
Subject: Re: Can't access local imap account: GNUTls error
Date: Sat, 05 Mar 2016 10:31:01 +0800	[thread overview]
Message-ID: <87vb51r6ze.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <874mcl65xh.fsf@uwo.ca>

Dan Christensen <jdc@uwo.ca> writes:

> On Mar  4, 2016, Dan Christensen <jdc@uwo.ca> wrote:
>
>> I have noticed something that might be the same bug.  I have a remote
>> IMAP server that is set up like this:
>>
>>   (add-to-list 'gnus-secondary-select-methods
>>            '(nnimap "foo"
>>                     (nnimap-address "foo.com")
>>                     (nnimap-stream shell)
>>                     (nnimap-shell-program "ssh %s /usr/lib/dovecot/imap")
>>                     ))
>>
>> However, when I start Gnus and try to open a group nnimap+foo:mygroup
>> that uses this server, it usually tries to connect via tls.  Then I
>> fiddle around for a while, kill Gnus and restart a few times, and
>> eventually it works.  I haven't figured out the pattern, but it seems
>> to not see my server definition and fall back onto a default.  Maybe
>> the same is happening for you.
>>
>> The good news is that once it works, it stays working for that Gnus
>> session.  Luckily I leave Gnus running for weeks at a time...
>
> Just for you, I exited Gnus (gasp) to test this a bit more.

Your sacrifice is appreciated :)

> If I start Gnus and try to activate a group on that server with `M-g',
> it tries to use tls and fails. But if I instead do `3 g' to activate
> all groups at level 3, it works. (The only groups I have from that
> server are on level 3, and I start Gnus with `(gnus 2 t)', which is
> like gnus-no-server, only activating groups up to level 2.)

I haven't been able to trick Gnus into connecting, no matter how I go
about it. I can go into the *Server* buffer and hit "O" on the server,
and it says it's open, but then trying to access it gives me
"nnimap-send-command: Output file descriptor of *nnimap* is closed".
Using the equivalent of your "3 g" just gives me the same errors.

So pretty clearly it's not going to connect. I have to assume a
misconfiguration somewhere, as it's only this one account out of four,
and I have the identical problem on two separate computers. But I don't
know where else to look!

Thanks,
Eric




  reply	other threads:[~2016-03-05  2:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-04  2:44 Eric Abrahamsen
2016-03-04  8:07 ` Eric Abrahamsen
2016-03-05  1:47 ` Dan Christensen
2016-03-05  1:59   ` Dan Christensen
2016-03-05  2:31     ` Eric Abrahamsen [this message]
2016-03-05  4:28       ` Dan Christensen
2016-03-05  8:21     ` Andreas Schwab
2016-03-05 23:58       ` Dan Christensen
2016-03-08  1:54 ` Eric Abrahamsen

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=87vb51r6ze.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=ding@gnus.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).