emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#41951: closed (28.0.50; Automatically detect AUTH=ANONYMOUS in Gnus


From: GNU bug Tracking System
Subject: bug#41951: closed (28.0.50; Automatically detect AUTH=ANONYMOUS in Gnus nnimap?)
Date: Sun, 19 Jul 2020 04:13:02 +0000

Your message dated Sat, 18 Jul 2020 21:12:49 -0700
with message-id <87wo30b0se.fsf@ericabrahamsen.net>
and subject line Re: bug#41951: 28.0.50; Automatically detect AUTH=ANONYMOUS in 
Gnus nnimap?
has caused the debbugs.gnu.org bug report #41951,
regarding 28.0.50; Automatically detect AUTH=ANONYMOUS in Gnus nnimap?
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
41951: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41951
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 28.0.50; Automatically detect AUTH=ANONYMOUS in Gnus nnimap? Date: Fri, 19 Jun 2020 10:41:53 -0700
IMAP servers that allow anonymous authentication advertise that fact in
their capabilities as AUTH=ANONYMOUS.

nnimap currently lets you take advantage of this explicitly, by setting
(nnimap-authenticator anonymous) in the server definition. But this
requires you to know in advance that the server allows anonymous
authentication, and decide to use it.

Gnus could figure this out itself and anonymously log in, using the
attached patch. It seems to work fine, but there might be further
consequences I haven't thought of. And possibly we'd simply prefer that
settings like this be a little more explicit for the user?

Does anyone have any opinions on this?

Attachment: nnimap-anonymous.diff
Description: Text Data


--- End Message ---
--- Begin Message --- Subject: Re: bug#41951: 28.0.50; Automatically detect AUTH=ANONYMOUS in Gnus nnimap? Date: Sat, 18 Jul 2020 21:12:49 -0700 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
Lars Ingebrigtsen <larsi@gnus.org> writes:

> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> 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.
>
> We could change that to not prompt if AUTH=ANONYMOUS is available?
>
>> 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...
>
> Yeah, it's pretty obscure anyway, isn't it?

Yup. Sorry for the noise.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]