From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Fraga, Eric" Newsgroups: gmane.emacs.help Subject: Re: Gnus, Oauth2, & nnimap-authenticator Date: Mon, 6 Jan 2025 08:16:32 +0000 Message-ID: <87zfk4gxwg.fsf@ucl.ac.uk> References: <87ed1lk9id.fsf@icloud.com> <87r05k40g7.fsf@ucl.ac.uk> <87cyh3rp6a.fsf@icloud.com> 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="6241"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: gnus (Emacs 31.0.50) Cc: "help-gnu-emacs@gnu.org" To: David Masterson Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 06 09:22:03 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 1tUiN8-0001R9-GO for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 06 Jan 2025 09:22:02 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUiMv-0007V7-QT; Mon, 06 Jan 2025 03:21:49 -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 1tUiMt-0007Ul-KC for help-gnu-emacs@gnu.org; Mon, 06 Jan 2025 03:21:47 -0500 Original-Received: from mail-vi1eur03on2114.outbound.protection.outlook.com ([40.107.103.114] helo=EUR03-VI1-obe.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 1tUiMr-0005xo-JW for help-gnu-emacs@gnu.org; Mon, 06 Jan 2025 03:21:47 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=JF36B43FL7L1VIvNjlv7FSrcxL2f4OmE0jtJfQZDhdKX1Jn0rWczM2mga3jDsDfKcH6xCcxblwcRjjwYCXR2mX4WH0d453c/BQCRYBjih9IOAHAiDnVH6Hx353YTzZs2hjjj4rzM+zWT03fEOsAs7yCk5Fek3EGrovxhGTyl8q3vJOuwEI3bDMCDv5L00JwjkMnDjHZ8l+OempNvJTtkuwG3qEjXE/1F/pTHgQIL1Fl/KLncRloODgpa9/HVJg/I3+dXZllILCs+yqcJ+XQYRGLkzY4Eq1HcOBQvnYTCacJEExBt5bhjtS0xe8wwKPNZ8DXzM4Kuq+oEvORBq/Bdjw== 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=IZtg0QKCdKPOWqCjY8yRTtMbgUe4hOedc7iXcYP38Zo=; b=XTksuE0Vp10s8Pi4ePIvvr1OKd5NcCCPFGLy1HFAoDd1Rs/J6SsOEq7rYF9/wrdxAwtabO3TNB/Lv0voWz/7KGs7wWUlr3I6oq8u/IaqY7svr9GNKogrJYyub/1kuCDuyLz126zpLxpqjzDumaa6nUVSSjY/K9RDkQxOCig2yCn3bJhbKulBYlqrWayBMe7RlDQRdX0iIOcKoZi1ltXxgPfRbaKCxvj3eAge+zH7rboNzuYatP7uYPU2A041qUfWPxfqLmoMk5flG9ORF9l6CF205HnGe/mu730a/1BVO8aw3ubUi/WLHfOR/l7u09alkQw5odhmmU3EempwgTMvbw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ucl.ac.uk; dmarc=pass action=none header.from=ucl.ac.uk; dkim=pass header.d=ucl.ac.uk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucl.ac.uk; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IZtg0QKCdKPOWqCjY8yRTtMbgUe4hOedc7iXcYP38Zo=; b=X4cP6Gg8nJ9T2YejwXZQzrhljdpRWUOOLmMU7j/KS27DbR8I+jLaKYH9Q3/zbIujUO9ouu7vu4xGpJyrgYeAhwMDhl7sU4OJOneMaCG8eICeT9gtlTCy4snAp4b8VEGS9BJZ0O70gmCehticc8+l1j9bXQODaY7MoIPBkiKXwrk= Original-Received: from AS4PR01MB10249.eurprd01.prod.exchangelabs.com (2603:10a6:20b:4fa::21) by AS8PR01MB8089.eurprd01.prod.exchangelabs.com (2603:10a6:20b:378::19) 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 08:16:35 +0000 Original-Received: from AS4PR01MB10249.eurprd01.prod.exchangelabs.com ([fe80::6b8e:d43:e0fc:22e]) by AS4PR01MB10249.eurprd01.prod.exchangelabs.com ([fe80::6b8e:d43:e0fc:22e%4]) with mapi id 15.20.8314.015; Mon, 6 Jan 2025 08:16:32 +0000 Thread-Topic: Gnus, Oauth2, & nnimap-authenticator Thread-Index: AQHbXn3o0GenjIYJ6kGkXWcccRnQDg== In-Reply-To: <87cyh3rp6a.fsf@icloud.com> (David Masterson's message of "Fri, 03 Jan 2025 23:52:45 -0800") Accept-Language: en-GB, en-US Content-Language: en-US x-url: http://www.ucl.ac.uk/~ucecesf/ authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ucl.ac.uk; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: AS4PR01MB10249:EE_|AS8PR01MB8089:EE_ x-ms-office365-filtering-correlation-id: 7de20b59-61f0-4d4b-cb15-08dd2e2a6e2e x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|366016|376014|1800799024|38070700018; x-microsoft-antispam-message-info: =?iso-8859-1?Q?ZRFlC/UtF8WlFK1fjuEAyp8Z6zyAkxLPdI/Q4fP5Ren5BWVBxz7QZdq043?= =?iso-8859-1?Q?PoanxiuqwvsLrdwJ85EgaT19dJXGHDGsX8uRvd1ExfDduReCeUiwNqX4/e?= =?iso-8859-1?Q?o6bEObwHVEAWaVsAUHNxu9UmNY8vAa6Sbjd4iFN1shfU9hqIuckmzOI/Vq?= =?iso-8859-1?Q?EfVsYfDGWs+BdwDJRCEwNXIUg5+wn0HT29g4vM8zbG1HMympnIte3PiHIh?= =?iso-8859-1?Q?/ivdx4KgRBJBvbwNyvfKH5adlhWx9WkCWw/fQGgQZODYSdn5PDQTQYu/ye?= =?iso-8859-1?Q?tXRc319F1jdlULsBYkEsVEY/E3RPMpWo4HrsujBXcix1F1i+KVE3+MB4xd?= =?iso-8859-1?Q?Fevuo7/lNtNnLdjKSybz6dk/wRrCmsrO8rSu/bYGVuVtlZuwEtzPiTh8dz?= =?iso-8859-1?Q?etxBsfXOjLJlTI9AoRVSBqntjpd1p34HCWDo6CcmUeNpGnGCrnGEPkBHy2?= =?iso-8859-1?Q?vExahWxUrMhUJEdnorcmEGp1pGugPtgabKSiR37iyEf8fUdZb+Grw8OR7K?= =?iso-8859-1?Q?RTyK77xQoU5IIgeS6ZbdQZWJDwJbVuJkd7mAAoE3439bXhXuUjXqGRMKYB?= =?iso-8859-1?Q?Hph2s79Z5RaBISv5G0uGNlaKvO+aaumNjc2c1/FCarek41A6g+nLQGFkF5?= =?iso-8859-1?Q?HPx x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS4PR01MB10249.eurprd01.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(376014)(1800799024)(38070700018); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?2bwoa1861zHAo7lp8OgxUW7nphWbiSe8nO1epYGQf7L2aoK7185ztS8aBX?= =?iso-8859-1?Q?OLySWkzXFAk40XaYs8ZOK2lAa/shEiQrs078m+v49ZRwMkLl1ljoFVsDjd?= =?iso-8859-1?Q?8UxnN9TkcH/kEGxsONVleYXla9hmemm/KQd25mBkAV9u55v0hoNKE21HYM?= =?iso-8859-1?Q?NPXAoV/qe9BfuC91fl2PhFq1okOyMQLqR2QxeCWMNXkBq9z5Sc12W5VmFH?= =?iso-8859-1?Q?ov7Ob098ripfCJ9ejFumLhepYor2SflQisZFKCTJMxzNnfum8EhRWkmXDA?= =?iso-8859-1?Q?UfedWUye+80muN4ZycUOZwcaD/Aao2PLid+M3o5JW3vZvHANgZjDTozaol?= =?iso-8859-1?Q?3c58JFf+Ik6Fy/JrKVa8CYWcPgNycUKpmgB4jwU4xk/DY8aoC3VsOEKprA?= =?iso-8859-1?Q?4Y2W5p/NnrCvLV/ZMU20jAGKfbc52gaDj48e6MAwX3vkzFDxmSrQ/vDMpj?= =?iso-8859-1?Q?9fVpVwmAQx8JaSA6ommwqgdDvChb9CzHgLCQbBgRM0+/Z+LmdBfO0b8Jr4?= =?iso-8859-1?Q?jN417NFOAmp2eN5kAayqTUQX+Hrdo1SW/Fu9jmqtyMRDYZZ3yQUHzcPl1X?= =?iso-8859-1?Q?0U06YAM63uIVyQ72iVSQ025e2qm68cose9vHOnqWWH72A4sKlgSbDzCxbt?= =?iso-8859-1?Q? X-OriginatorOrg: ucl.ac.uk X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AS4PR01MB10249.eurprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7de20b59-61f0-4d4b-cb15-08dd2e2a6e2e X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jan 2025 08:16:32.8086 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 1faf88fe-a998-4c5b-93c9-210a11d9a5c2 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: mjDEvXqiwxTLfqSu7lbunISk7i9PT+1JhlP1B3VYfWIxvH6/eORuPRd4xi/ZMIck7ejQ0iw8X95MfxCFhwBjJw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR01MB8089 Received-SPF: pass client-ip=40.107.103.114; envelope-from=e.fraga@ucl.ac.uk; helo=EUR03-VI1-obe.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, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, 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:149154 Archived-At: Response below/inline for email David Masterson wrote: > (original email sent 3 Jan 2025 at 23:52) >=20 > I tried, but I had trouble figuring out Davmail -- the docs are > confusing for a newbie. Do you have a simplified Davmail properties > file for Gnus<->Outlook you could share along with the Gnus & SMTP > setup in Emacs? I work better copying from others. ;) Davmail comes with some example configurations, one of them for Exchange (aka Outlook). Specifically, for Outlook, the "davmail.properties" config file will have this entry: davmail.url=3Dhttps://outlook.office365.com/ews/exchange.asmx Then, in my .gnus.e file, I have --8<---------------cut here---------------start------------->8--- (setq mail-sources (list=20 (list 'pop :server "localhost" :user "ucecesf@ucl.ac.uk" :port 1110) )) --8<---------------cut here---------------end--------------->8--- which tells gnus to access the POP server at port 1110 which is where davmail uses to serve the emails it gets from Outlook. =20 I use (list ...) for reasons not related to Outlook; the above is just one part of my configuration. If you want IMAP, the port number will be different and you will probably wish to define an entry in gnus-secondary-select-methods instead of mail-sources (but I do not have an example for this unfortunately). I prefer POP so that I can manage the emails myself. I am not concerned with sharing an IMAP server over multiple devices. HTH, eric --=20 Eric S Fraga via gnus (Emacs 31.0.50 2024-12-17) on Debian 12.8=