From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Bob Newell" Newsgroups: gmane.emacs.help Subject: Re: Gnus, Oauth2, & nnimap-authenticator Date: Thu, 02 Jan 2025 07:16:31 -1000 Message-ID: <70966bef-23e5-429d-8e4d-f0ce7e1af00f@app.fastmail.com> References: <87ed1lk9id.fsf@icloud.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="425"; mail-complaints-to="usenet@ciao.gmane.io" To: "David Masterson" , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 02 18:17:17 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 1tTOou-000ATo-6V for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 02 Jan 2025 18:17:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTOoL-0001rX-Qd; Thu, 02 Jan 2025 12:16:43 -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 1tTOoG-0001rH-HW for help-gnu-emacs@gnu.org; Thu, 02 Jan 2025 12:16:36 -0500 Original-Received: from fhigh-a2-smtp.messagingengine.com ([103.168.172.153]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tTOoE-00056A-KS for help-gnu-emacs@gnu.org; Thu, 02 Jan 2025 12:16:36 -0500 Original-Received: from phl-compute-09.internal (phl-compute-09.phl.internal [10.202.2.49]) by mailfhigh.phl.internal (Postfix) with ESMTP id DAA8211400AA; Thu, 2 Jan 2025 12:16:31 -0500 (EST) Original-Received: from phl-imap-06 ([10.202.2.83]) by phl-compute-09.internal (MEProxy); Thu, 02 Jan 2025 12:16:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bobnewell.net; h=cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1735838191; x=1735924591; bh=I6OIurQjQ5Vm4GLhiUaM+YeBeZtBw3XZa+ekQRDgS1U=; b= e8ckbokCLeWXIp2qJDsN2qlJyI7uUoW2N+h6dUTsEiSWhtCnHBlRyjdZZZVRMFNO qfZwhLo2J+XYbg5KBn/p+m/zhdg+mYbrX6N9z3c6GNho1FEz+o1NRqFujkGb3LEd tMrjqSyUJYz7FdVrpeR+NJ8vI8It52HWw6/STs3Fzg8++oT34bQzY63/7ninkpHj z4DjlGP+5qUO+FY/nMjBdpwJSdoyRmI764Zi/7lfKpYfrB6uw+DXvWk39+GMOigu VNB69zPrRH5tx8jxY8IeTLYOEImw9b1xlxLgbaXznjK/hVhlr7Dn/d6fsJE8s3hJ 6ZcS/eO4ITmJyqtzIBtVXg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1735838191; x=1735924591; bh=I 6OIurQjQ5Vm4GLhiUaM+YeBeZtBw3XZa+ekQRDgS1U=; b=ygZM+pD13o97Z5uV7 AWs/RqrD993pQDibukHeMNfAb26vF7Ksp10wURAbJA8srYII7nkugZaHWAzqe/dj IOz58XrlcoBNbzqm0HTwf3n5Cmr0+otPeiXqyCUcGFB9x4ubxzdHdWPawHbj6ftj sT76nMpCpfZmrNsc6Xu4oOccPxjY6+pJne85r45wejnUAZfnD2Eas16Zes8jgZVQ B+pFxHO5j69HbcvMMCnfW6toqxA15TqxG5CLTqEeIoJ9WFcJDFYEkTFpVyElkX7f EJjwsX8AjRg/XJuw9N5vZugl4GtZhwNPiJezFgFkK2oYnXHp+9dM3Rj/XUrogzdB DbQuA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudefvddguddttdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefoggffhffvkfgjfhfutgfgsehtjeertdertddt necuhfhrohhmpedfuehosgcupfgvfigvlhhlfdcuoegsohgsnhgvfigvlhhlsegsohgsnh gvfigvlhhlrdhnvghtqeenucggtffrrghtthgvrhhnpefhhfejheevkeejledvueffteei gedvhfelveevuedtueejleduueekhefhfeefudenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpegsohgsnhgvfigvlhhlsegsohgsnhgvfigvlhhl rdhnvghtpdhnsggprhgtphhtthhopeegpdhmohguvgepshhmthhpohhuthdprhgtphhtth hopegsohgsnhgvfigvlhhlsegsohgsnhgvfigvlhhlrdhnvghtpdhrtghpthhtohephhgv lhhpqdhgnhhuqdgvmhgrtghssehgnhhurdhorhhgpdhrtghpthhtohepughsmhgrshhtvg hrshhonhesihgtlhhouhgurdgtohhmpdhrtghpthhtoheptghhvggtkhgvrhhstghhihhp shgthhgrpheshigrhh X-ME-Proxy: Feedback-ID: i4c2648b8:Fastmail Original-Received: by mailuser.phl.internal (Postfix, from userid 501) id 8D67E29C006F; Thu, 2 Jan 2025 12:16:31 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface In-Reply-To: <87ed1lk9id.fsf@icloud.com> Received-SPF: pass client-ip=103.168.172.153; envelope-from=bobnewell@bobnewell.net; helo=fhigh-a2-smtp.messagingengine.com 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_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:149119 Archived-At: On Wed, Jan 1, 2025, at 20:36, David Masterson wrote: > Does anyone have more documentation on setting up OAuth2 and using it > with NNIMAP in Gnus? New email systems seem to be moving to Oauth2 > protocol, but there is very little documentation on how to set it up > (especially for newbies) with Emacs email packages. Any hints?? The best way, if you require pure OAuth2, seems to be to hand off to msmtp rather than sending directly from Gnus, although that may trigger significant changes to your Gnus setup. There is good online material showing how msmtp works with OAuth2. Of course if your mail system allows for app passwords (you may have to hunt around as the option is often not easy to find) that is easiest, and it's what I do. I haven't found a major provider that doesn't support app passwords (your mileage may vary). Bob Newell Honolulu