From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Leo Butler Newsgroups: gmane.emacs.help Subject: Re: Gnus, Oauth2, & nnimap-authenticator Date: Mon, 6 Jan 2025 17:39:01 +0000 Message-ID: <87ttab3kr0.fsf@t14.reltub.ca> References: <87ed1lk9id.fsf@icloud.com> <87r05k40g7.fsf@ucl.ac.uk> <87cyh3rp6a.fsf@icloud.com> <87jzb76hux.fsf@t14.reltub.ca> <874j2bdhtx.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26590"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: David Masterson , "help-gnu-emacs@gnu.org" To: "Fraga, Eric" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 06 18:39:51 2025 Return-path: Envelope-to: geh-help-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 1tUr4w-0006l9-J3 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 06 Jan 2025 18:39:50 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUr4G-0003Gq-Sy; Mon, 06 Jan 2025 12:39:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tUr4F-0003Fl-Lh for help-gnu-emacs@gnu.org; Mon, 06 Jan 2025 12:39:07 -0500 Original-Received: from mail-canadacentralazlp170120003.outbound.protection.outlook.com ([2a01:111:f403:c103::3] helo=YT6PR01CU002.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tUr4C-0005Cs-Ls for help-gnu-emacs@gnu.org; Mon, 06 Jan 2025 12:39:07 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Jm8mouwzj5LuTqPeB3fV3VAQHFeX6Os0WwY05PVZS1x8LqxqghFbhG2fE29c6/4b1AAqh7iNNcaVF8a4GObIdf2Uh33PR+lvsXp1o3GtgJ0S1H5jBSwQYKAhrmYGK2u9wiAkxAaB2sfz9gkIfoXQ4qOavRN0Qld++RNPIcrK5Vd5Lf1CQZ3K42/06w6O2Og2+sJyCxuUApj+Tj/CEli/52VJvKa4HkBuuMV9ug5Tb9VM5F+gsRsQM7rNsFoWkdGa7AFy52l1KFtFUoFGXNJGs+yfrBX4Ghlod8FLcAJ85QKMaO3NdL5frv9TOGJA1g0+AjMDcjC2q7kqkWzbEk1dYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Y2JGIa9+Vgj1HUTrklQ1wgMQpbjCm4LbpWn5+fnK+GM=; b=aInreJoNQWjPQWQQ3jUZcJMTLzYV0UFnI6tpD6xa2eOm8M7IGHdbYcoajAjy2X+JB5sMY+L7tLJ+vIe4OB4vPYkcpTO15uMAzWJf58t7q7n0PVPekk/cLJ8KO8fhpAwXvvwMPc4V73YIXoXQfDPGERtHa3ZXmNHKjVRv2BeH7VB+3yXNbGGO4uPVngwavwoh4unCIAQIg86J1qveAUIigIKJ49ei6RVSH/Caq2AKx8h2ANeK1L5Ae2onSesWFCIJHn1J4+WV0rxxqmuP29mXB2MuszK/MXRJqB5TKrFkopIsZPaCoepBrpLA/KYDRGzNAJE5Gd4ycCVbM3tcT5JySw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=umanitoba.ca; dmarc=pass action=none header.from=umanitoba.ca; dkim=pass header.d=umanitoba.ca; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umanitoba.ca; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Y2JGIa9+Vgj1HUTrklQ1wgMQpbjCm4LbpWn5+fnK+GM=; b=UrpPeewHlbUvjUCK/LeLvMo0/wWB74CPgrzHGtrHkJJbIP7qT48jnl74GAebFBeE2j6/DWYA/zVMpMedskGtg3QHb9BFY+eUZ/66Buuq5F2s3VGkRARAt6oeA8yiFwWlWD5WC4u7L+Izo5XnCm3LQ90fo5U5gax9MmlEjP5Pf8DY/I9zmduJvRTUaqoN1qpmjehYzwEErmbwSaQ/e8f/lPsyGBTdmR5sasNENs57WlaR4U/6Z1O+0y5FqykLusuq6YdAXiS8AoW+FYf4jIaHDCawgIDNZMi16NkM6hDG6ZlHPUXoIJXO6fja5eFySw7WIsoS+OayNhXIn+E3pvomEw== Original-Received: from YT3PR01MB9964.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:90::5) by YT1PR01MB9225.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:ce::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8314.17; Mon, 6 Jan 2025 17:39:01 +0000 Original-Received: from YT3PR01MB9964.CANPRD01.PROD.OUTLOOK.COM ([fe80::b6d1:6c9a:7454:bb59]) by YT3PR01MB9964.CANPRD01.PROD.OUTLOOK.COM ([fe80::b6d1:6c9a:7454:bb59%4]) with mapi id 15.20.8314.018; Mon, 6 Jan 2025 17:39:01 +0000 Thread-Topic: Gnus, Oauth2, & nnimap-authenticator Thread-Index: AQHbYFXhzPXekGOJQEKscOVhvJC4Lg== In-Reply-To: <874j2bdhtx.fsf@ucl.ac.uk> (Eric Fraga's message of "Mon, 6 Jan 2025 16:31:55 +0000") Accept-Language: en-US Content-Language: en-US authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=umanitoba.ca; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: YT3PR01MB9964:EE_|YT1PR01MB9225:EE_ x-ms-office365-filtering-correlation-id: 5b68ab11-ef83-47b2-1d29-08dd2e7901b1 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|376014|1800799024|366016|38070700018; x-microsoft-antispam-message-info: =?iso-8859-1?Q?imhl7Q0QF/AI0WbE18+lBabtdnfPZfHe1eoN4uoxH4WaBVL3J4ILzTFjyh?= =?iso-8859-1?Q?FzAPi9mmSzhXMYnH/AWcJNLFlN2pJspPC5gmTacx0WeKvP0MqKRRCp1Vin?= =?iso-8859-1?Q?YenjF9QZpKElP4r8vlsFJFbeafXeSA/HqpPxKH3f8s4C4jmp3d9DA4qoDw?= =?iso-8859-1?Q?qZjKh7J+UwE1EYFFDRJlpiVFsomy8XoDKMKI87okkt9iW6oA0KbVs4x9jU?= =?iso-8859-1?Q?Yc2x5BEe8955E2EPxmUcYFAklnKqrxRTlgk0H5DS0Ec774gxKoAaFPSs0w?= =?iso-8859-1?Q?hlltRlm2kpIE0SSpEJSlAXfTc3Z6eYkZYecV47gDM8I1NdxGiNbJobwWEv?= =?iso-8859-1?Q?b5FPO8YDhOFbfmvyG+0aDRZEyLisXnsQ+J3oOMt1jAdxaHM7TdeJNi1Olx?= =?iso-8859-1?Q?XxghWVSfjTa9e1AOHDfuKv8uy70KgeeBAuSkYpSecEYmm78+E9N/5JhXMT?= =?iso-8859-1?Q?JN6zp22sA88L9qZ3q1Rq/Pj4t8iZBAB2ui5eG2TU1K8P9EZ74dGUsE7mQt?= =?iso-8859-1?Q?P2HPRBo+z9Q6jhobT7Kb261nrQ4rTnu42+DMq+grSZnm9v/o+mE5yPN4AP?= =?iso-8859-1?Q?qaNdF5gtvKwBGqB1li2YDd/v8fQKF9T75RUW0Wn2AK9AgvgUVANt5SA2Hj?= =?iso-8859-1?Q?cYM x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:YT3PR01MB9964.CANPRD01.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230040)(376014)(1800799024)(366016)(38070700018); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?In/kfXpEwe7wHHUSqoYwqdKJ4hBhhGp0ygsGrm4lVOWsExyxeZIQHkBPW2?= =?iso-8859-1?Q?L76Si943cKHa8uB0mBhJSriHueme70sFyVuf7QZLKLy6T6XlDAQDtI9m4t?= =?iso-8859-1?Q?huwKwHLSUqaqK/6mePRLqh9Sawbro6/THLCq3OjtpZ1c3v9siVPzcsK1AU?= =?iso-8859-1?Q?b5EmasOWiC5QGFQhrA5qj85zahif1HW77arkAsOeLJNhylETDKuM7P+vHX?= =?iso-8859-1?Q?b4/2y7mix9s0SD3gYO+Mq6NA2O9CPcu79yopTQK/lPOVuCu6YPPSkvShwH?= =?iso-8859-1?Q?T3jZHWJNcUDnfvZFYDNiO7f2FqDQsntDiAexTzWiZCXb5UHPpCrjqnJMZ2?= =?iso-8859-1?Q?yyhA0kEZ5GNGbyfGtjRxb56WfKJNcCbyeFx6yn9BF3vEtUxSpCdOhtYf5B?= =?iso-8859-1?Q?yPzWQt+lHEz/sF3U5fGMbJreNbj85NcBo30GLHFzhc4PdrUehYhKoIMwFo?= =?iso-8859-1?Q?sjobD7Xbzr7ARyQSl+yFUm2nSpf3ODtXcF6MWfCL63iZsUJf+twz7eo+sK?= =?iso-8859-1?Q?JzYTSM+vmi8D+ADCMQ+Foi5LDRe/+q+yEIhVfY0GiripSfVU1kpF/R7Gd6?= =?iso-8859-1?Q?fE0e5DbnytYJoV90Vvul0wf3Qld6NsopMTPKVmo+sKtCCYFGsmPro/4oNk?= =?iso-8859-1?Q? X-OriginatorOrg: umanitoba.ca X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: YT3PR01MB9964.CANPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 5b68ab11-ef83-47b2-1d29-08dd2e7901b1 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jan 2025 17:39:01.0288 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4f80dd0b-338c-4e4c-8a14-90446962f7b8 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: KQ0+UkI8Dmkpy1KQQwX4hf1yUZiT3xwAyIaGBluS/hpL+Egj6kYT3oX0xS1rfEhGhL2VEl8Iu1Da5k9Ma3GkdQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: YT1PR01MB9225 Received-SPF: pass client-ip=2a01:111:f403:c103::3; envelope-from=Leo.Butler@umanitoba.ca; helo=YT6PR01CU002.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:149157 Archived-At: On Mon, Jan 06 2025, "Fraga, Eric" wrote: > Response below/inline for email Leo Butler wrote: >> (original email sent 6 Jan 2025 at 16:13) >>=20 >> I had to make a similar adaptation in 2022. I kept notes, including how >> to configure davmail and Gnus, which are here: > > That's an excellent set of notes! Thank you. From memory, I did pretty > much the same (except for pop versus imap). > >> Note that I am using imap, which is quite slow, while Eric Fraga has >> reported that the speed with pop3 is tolerable. > > Just to confirm: pop access (from memory) seems about the same as it was > without davmail, preceding the need for multi-factor authentication. I > never did try imap. But speed was never the goal: being able to access > my email at all (from gnus) was the actual aim. Hi Eric, Re: speed. I used Gnus+Exchange+imap for ~5 years before having to deal with oauth2. Exchange was always slow (gmail seemed 2-5 times faster). With the one fiddle I mention in my notes, imap access via davmail was about the same speed as before the change-over--which confirms your impression. I did fail to mention one thing in the notes: emails that I save are saved back on the Exchange server. That is for purely historical reasons. Best regards, Leo