unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 41951@debbugs.gnu.org
Subject: bug#41951: 28.0.50; Automatically detect AUTH=ANONYMOUS in Gnus nnimap?
Date: Sat, 18 Jul 2020 21:01:15 -0700	[thread overview]
Message-ID: <871rl8cfw4.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <877dv0tcja.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 19 Jul 2020 05:21:45 +0200")

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> So only honor AUTH=ANONYMOUS if the user has set no
>> nnimap-authenticator, and also we don't find this server in our
>> auth-source-search, right?
>
> Yes.  nnimap-authenticator is nil by default.

Hmm, but `nnimap-credentials->auth-source-search' will prompt for auth
details and save them if none are found, which is the behavior I was
trying to avoid to begin with.

Meh, this probably isn't the right thing to do. The manual specifically
says (about `nnimap-authenticator'):

"Some IMAP servers allow anonymous logins. In that case, this should be
 set to ‘anonymous’. If this variable isn’t set, the normal login
 methods will be used."

So implicitly short-circuiting the normal login procedure is actually
contrary to the documentation, which says do it explicitly. I'm inclined
to drop this...





  reply	other threads:[~2020-07-19  4:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-19 17:41 bug#41951: 28.0.50; Automatically detect AUTH=ANONYMOUS in Gnus nnimap? Eric Abrahamsen
2020-07-19  1:07 ` Lars Ingebrigtsen
2020-07-19  3:14   ` Eric Abrahamsen
2020-07-19  3:17     ` Lars Ingebrigtsen
2020-07-19  3:20       ` Eric Abrahamsen
2020-07-19  3:21         ` Lars Ingebrigtsen
2020-07-19  4:01           ` Eric Abrahamsen [this message]
2020-07-19  4:03             ` Lars Ingebrigtsen
2020-07-19  4:12               ` 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

  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=871rl8cfw4.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=41951@debbugs.gnu.org \
    --cc=larsi@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.
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).