From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: BP25 Newsgroups: gmane.emacs.help Subject: Rmail and POP3 and Outlook online Date: Mon, 22 Apr 2024 16:17:22 +0100 Message-ID: <875xw9xw8t.fsf@RISEUP> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24236"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 23 07:13:57 2024 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 1rz8Tc-000658-6o for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 23 Apr 2024 07:13:56 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rz8T5-0005DV-Kt; Tue, 23 Apr 2024 01:13:23 -0400 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 1ryvVo-0006LY-Ut for help-gnu-emacs@gnu.org; Mon, 22 Apr 2024 11:23:21 -0400 Original-Received: from mx1.riseup.net ([198.252.153.129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ryvVm-0002Bk-TW for help-gnu-emacs@gnu.org; Mon, 22 Apr 2024 11:23:20 -0400 Original-Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4VNTXj11zczDqBr for ; Mon, 22 Apr 2024 15:23:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1713799397; bh=f/zWN3b2rNf8bwMkLBcahcswVF5iaeX0rkDn31EiphI=; h=From:To:Subject:Date:From; b=kIOcZPfVjwwF1+Tz5VqI8KMW0WR4AY6Mi72yHUnFgbZC0gS+jqI7svq2XtCRQHARw uSIBEPOzopX4fqPXVW0vH3Ydwael+7vg9DO150rhAdd7RSVz9BeUCaUYTLSdFEIipg Rb1hN3MkBvYxim/KKvYeNCyKmPti/8m9aZa7fAW4= X-Riseup-User-ID: 47FBB9FC2DCABF7C12693A742BFF3ACB6A4E74A4EA50AA38D7DF2ABC78029931 Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4VNTXh4S58zJspf for ; Mon, 22 Apr 2024 15:23:16 +0000 (UTC) Received-SPF: pass client-ip=198.252.153.129; envelope-from=bp25@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 23 Apr 2024 01:13:21 -0400 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:146438 Archived-At: Hello everyone, My organisation uses Microsoft365, and therefore Outlook online for email. Microsoft disabled what they call ``basic authentication'' (that is username and password authentication) for POP3 and IMAP4 on October 2022 and app passwords have been turned off as well. I use Rmail on Emacs. I'm struggling to understand how to connect. I read from ``Authenticate an IMAP, POP or SMTP connection using OAuth'': --8<---------------cut here---------------start------------->8--- You can use the OAuth authentication service provided by Microsoft Entra (Microsoft Entra) to enable your application connect with IMAP, POP, or SMTP protocols to access Exchange Online in Office 365. To use OAuth with your application, you need to: Register your application with Microsoft Entra. Get an access token from a token server. Authenticate connection requests with an access token. --8<---------------cut here---------------end--------------->8--- I set up 2FA on my account, which allows me to login via browser by generating TOTP with any authentication software of my choice (KeePassXC at the moment). I would expect 2FA via POP3 would require incorporating the TOTP code in the connection somehow, but it looks from the lines above that registering the application with Microsoft is required? I'm very confused because this seems nonsensical, any clarifications?