From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#41951: 28.0.50; Automatically detect AUTH=ANONYMOUS in Gnus nnimap? Date: Sat, 18 Jul 2020 21:01:15 -0700 Message-ID: <871rl8cfw4.fsf@ericabrahamsen.net> References: <871rmb54wu.fsf@ericabrahamsen.net> <87mu3wwbwd.fsf@gnus.org> <87a6zwci2m.fsf@ericabrahamsen.net> <87blkctcqp.fsf@gnus.org> <875zakchrw.fsf@ericabrahamsen.net> <877dv0tcja.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31120"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 41951@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 19 06:02:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jx0Wg-00080A-5M for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Jul 2020 06:02:10 +0200 Original-Received: from localhost ([::1]:33376 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jx0We-0002Tn-Nu for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Jul 2020 00:02:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34528) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jx0WY-0002TU-EW for bug-gnu-emacs@gnu.org; Sun, 19 Jul 2020 00:02:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48284) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jx0WY-000607-4F for bug-gnu-emacs@gnu.org; Sun, 19 Jul 2020 00:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jx0WY-0004xJ-1z for bug-gnu-emacs@gnu.org; Sun, 19 Jul 2020 00:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Jul 2020 04:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41951 X-GNU-PR-Package: emacs Original-Received: via spool by 41951-submit@debbugs.gnu.org id=B41951.159513128719006 (code B ref 41951); Sun, 19 Jul 2020 04:02:02 +0000 Original-Received: (at 41951) by debbugs.gnu.org; 19 Jul 2020 04:01:27 +0000 Original-Received: from localhost ([127.0.0.1]:59830 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jx0Vz-0004wU-N6 for submit@debbugs.gnu.org; Sun, 19 Jul 2020 00:01:27 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:49990 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jx0Vw-0004wG-3C for 41951@debbugs.gnu.org; Sun, 19 Jul 2020 00:01:26 -0400 Original-Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 23CD5FA0B2; Sun, 19 Jul 2020 04:01:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1595131277; bh=7Q8ZeMLINnDsdVUJqhryJxcakwPYEnrxflRRwUAzzBg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=WAaMdNoI8AAu1I87M3znc23oW7Rp90KBdz5Z47PntniP96Z1ukeGBNSdTyxotZBbe t7OiNGP9gNVYQQ3IEcBDjA9sCklMHCkJb2Em2ykHlRfVelFgYe/aX6GhZrhRer/QaK 3FShbITKtW9AvMcBXfqS+ub59/7lmTZHyV05Kzs4= In-Reply-To: <877dv0tcja.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 19 Jul 2020 05:21:45 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:183204 Archived-At: Lars Ingebrigtsen writes: > Eric Abrahamsen writes: > >> So only honor AUTH=3DANONYMOUS 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 =E2=80=98anonymous=E2=80=99. If this variable isn=E2=80=99t set, th= e 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...