unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <lmi@gnus.org>
To: bug-gnu-emacs@gnu.org
Subject: Re: bug#7487: 24.0.50; Gnus nnimap broken
Date: Sun, 28 Nov 2010 03:56:21 +0100	[thread overview]
Message-ID: <m3ipziupey.fsf__40686.2005977475$1291820805$gmane$org@quimbies.gnus.org> (raw)
In-Reply-To: mailman.0.1290791691.11667.bug-gnu-emacs@gnu.org

Jason Rumney <jasonr@gnu.org> writes:

> Upon starting Gnus, some of my groups are showing unread articles in the
> summary buffer, including groups which I only manually move articles
> into, and which I have not touched for months. 

[...]

> It seems gnus-agent (which I never explicitly enabled, but have had
> problems with in past upgrades after it was enabled by default) is out
> of sync with the server, and deleting the ~/News/agent directory fixed
> the problem.

Gnus has stopped enabling the Agent by default now, but older
installations can still get in the way.  I've Cc'd this to the Gnus
mailing list -- do any of you know why the Agent got so wildly out of
what with nnimap in the past?

> This is a terrible user experience.  Trying SSL first is a good feature,
> but if it fails, Gnus should fall back to using plain imap as the user
> has configured.  It isn't even obvious to me what variable I have to set
> to access plain imap anymore.

We've discussed the connection methodology on the list in the past, but
it seems I punted on actually implementing this.  I've now changed the
(default) to try imaps first, and if it fails, imap.

If you wish to force a specific protocol, then `nnimap-stream' is the
backend slot to customize.

> Following this, I configured Gnus to use imaps (which I have configured on a
> non-standard port to get through certain firewalls but never bothered to
> use before on localhost), and now run into a third problem.

I don't follow you here.  How did you configure Gnus to use imaps?  And
since that's the default, isn't that what failed?

> Upon logging in, I am prompted to add my login credentials to
> ~/.authinfo.gpg.  This brings up a confusing buffer asking me to mark
> a public key, which I have discovered by trial and error only works if
> I select no public keys so it falls back on symetric encryption.

Yes, that interface is so confusing it's ridiculous.

Ted is rewriting the way Emacs asks for and stores user credentials.
It'll support using the Secrets API in addition to the standard Emacs
.gpg file handling, but the .gpg interface is so wildly user hostile
that I'm tempted to go back to just storing this data in the plain-text
~/.authinfo file until all this has been worked out.

> After entering an encryption password twice, I was able to read my
> mail at last.

Yay!  :-)

> But my problems aren't over yet. When I quit Gnus and start it again,
> my encryption password for authinfo.gpg doesn't appear to work.
> Actually, it is working, because if I enter a different password, it
> fails immediately, whereas if I enter the correct password it loops
> forever asking for my password (maybe not forever, but my patience for
> finding out is limited).

Weird.  Could you

(setq debug-on-quit t)

and then `C-g' when it starts asking you again and again?  Post the
backtrace here.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


       reply	other threads:[~2010-11-28  2:56 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.0.1290791691.11667.bug-gnu-emacs@gnu.org>
2010-11-28  2:56 ` Lars Magne Ingebrigtsen [this message]
     [not found] ` <m3ipziupey.fsf@quimbies.gnus.org>
2010-12-06 16:11   ` bug#7487: 24.0.50; Gnus nnimap broken Ted Zlatanov
2010-12-07 23:32     ` Lars Magne Ingebrigtsen
2010-12-08 17:00   ` Jason Rumney
2010-12-09 21:15     ` Lars Magne Ingebrigtsen
2010-12-10  2:55       ` Stefan Monnier
     [not found]       ` <ids61l$jr6$2@quimby.gnus.org>
2010-12-10 16:18         ` Lars Magne Ingebrigtsen
2010-12-08 17:05   ` Jason Rumney
2010-12-08 23:32   ` Stefan Monnier
2010-12-09 21:10     ` Lars Magne Ingebrigtsen
     [not found]     ` <mailman.1.1291931529.5417.bug-gnu-emacs@gnu.org>
2010-12-10 18:48       ` Ted Zlatanov
2010-12-10 20:56         ` Stefan Monnier
     [not found]         ` <mailman.38.1292016144.4804.bug-gnu-emacs@gnu.org>
2010-12-13  3:19           ` Lars Magne Ingebrigtsen
2010-12-13 17:08             ` Ted Zlatanov
2010-12-13 20:11               ` Lars Magne Ingebrigtsen
2010-12-14  1:08                 ` Daiki Ueno
2010-12-15  2:06                   ` Daiki Ueno
     [not found]                   ` <mailman.3.1292379760.6505.bug-gnu-emacs@gnu.org>
2010-12-15 14:39                     ` Ted Zlatanov
2010-12-15 22:05                       ` Daiki Ueno
2010-12-15 23:42                         ` Daiki Ueno
2010-12-16  2:45                           ` Daiki Ueno
     [not found]                           ` <mailman.13.1292467961.28766.bug-gnu-emacs@gnu.org>
2010-12-16 16:00                             ` Ted Zlatanov
2010-12-16 19:15                               ` Ted Zlatanov
2010-12-16 19:39                             ` Lars Magne Ingebrigtsen
2010-12-16 19:44                               ` Lars Magne Ingebrigtsen
2010-11-26 17:10 Jason Rumney
2010-12-05 16:49 ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='m3ipziupey.fsf__40686.2005977475$1291820805$gmane$org@quimbies.gnus.org' \
    --to=lmi@gnus.org \
    --cc=bug-gnu-emacs@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).