GNU bug report logs -
#41951
28.0.50; Automatically detect AUTH=ANONYMOUS in Gnus nnimap?
Previous Next
Reported by: Eric Abrahamsen <eric <at> ericabrahamsen.net>
Date: Fri, 19 Jun 2020 17:42:01 UTC
Severity: normal
Found in version 28.0.50
Done: Eric Abrahamsen <eric <at> ericabrahamsen.net>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 41951 <at> debbugs.gnu.org (full text, mbox):
On 07/19/20 03:07 AM, Lars Ingebrigtsen wrote:
> Eric Abrahamsen <eric <at> ericabrahamsen.net> writes:
>
>> 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?
>
> Would this interfere with logging in normally with your own user name?
I think if we did it this way:
(if (or (eq nnimap-authenticator 'anonymous)
(and (null nnimap-authenticator)
(nnimap-capability "AUTH=ANONYMOUS")))
(list "anonymous"
(message-make-address))
;; normal log in process
)
Then we only fall back on anonymous if the user hasn't specified
anything explicitly. I haven't yet verified that (null
nnimap-authenticator) does the right thing in this case, though.
Eric
This bug report was last modified 4 years and 309 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.