From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Masterson Newsgroups: gmane.emacs.help Subject: Re: Gnus, Oauth2, & nnimap-authenticator Date: Thu, 02 Jan 2025 19:07:05 -0800 Message-ID: <8734i0d292.fsf@icloud.com> References: <87ed1lk9id.fsf@icloud.com> <70966bef-23e5-429d-8e4d-f0ce7e1af00f@app.fastmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24935"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: help-gnu-emacs@gnu.org To: "Bob Newell" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 03 04:07:53 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 1tTY2R-0006K4-NV for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 03 Jan 2025 04:07:51 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTY1q-00041L-R5; Thu, 02 Jan 2025 22:07:14 -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 1tTY1o-00040x-Bc for help-gnu-emacs@gnu.org; Thu, 02 Jan 2025 22:07:12 -0500 Original-Received: from mr85p00im-ztdg06011201.me.com ([17.58.23.181]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tTY1m-0006Dn-FU for help-gnu-emacs@gnu.org; Thu, 02 Jan 2025 22:07:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1735873628; bh=4j8e+knzWysGAWKj9QAzaEIQn0O5sPDfd6DXj1+coy4=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type: x-icloud-hme; b=0V0XhEHmeYMQTWsjAT983IB8nGvWjG8Aa6rGKwm1NQmfe/xvgcdQ5k2gTrxCTX1rl TFVUaf1P+b8X7zRLyyo6VBcVgVE0ZvWIQO/IAaN1OhGbNpetrDwtaclsoMz8HjxxdC lA+3rMbhmGHPylFX6YDTUbN5HACSFN2fXWeECT3FNU3e9zai017VwzPtRu480Bhwj/ 31GxJ82fzPb/6ITuU8k/kHyGJXnWoMS+zFMMXKkXcB05AXRFnpsJHksedm4HPKSRNd QCXMVHbJGBeXnkczXy3bqTMk9nE6Le6TuX6mejiVEnzW5jSOooDoZWMIu2ejsy1jTT Cnll5akgTwEXw== Original-Received: from penguin (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-ztdg06011201.me.com (Postfix) with ESMTPSA id D93DE9601DD; Fri, 3 Jan 2025 03:07:06 +0000 (UTC) In-Reply-To: <70966bef-23e5-429d-8e4d-f0ce7e1af00f@app.fastmail.com> (Bob Newell's message of "Thu, 02 Jan 2025 07:16:31 -1000") X-Proofpoint-ORIG-GUID: Nh_l22_-zkRrVHQVYKO7wwscHsYZkzTL X-Proofpoint-GUID: Nh_l22_-zkRrVHQVYKO7wwscHsYZkzTL X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-01-02_03,2025-01-02_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 clxscore=1011 suspectscore=0 adultscore=0 malwarescore=0 spamscore=0 mlxlogscore=593 bulkscore=0 mlxscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2501030024 Received-SPF: pass client-ip=17.58.23.181; envelope-from=dsmasterson@icloud.com; helo=mr85p00im-ztdg06011201.me.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=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:149125 Archived-At: "Bob Newell" writes: > 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. Hmm. msmtp would handle sending email, correct? Does it also handle getting the email from IMAP? > 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). Outlook.com was working fine, but seems to have moved to "Modern Authentication" (which I think has to do with Oauth2). So I tried a free email account on Zohomail, but it has a strict DMARC policy which causes gnu.org to reject it's email, but Zohomail does accept email from gnu.org. I've gotten SMTP working via icloud.com, so I'm using Zohomail for incoming and Icloud for outgoing. I'm still not sure of expiring emails on Gnus and Zohomail (which will eventually overload the space if expiry doesn't work), so I'm looking at other options. -- David Masterson