From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jostein_Kj=c3=b8nigsen?= Newsgroups: gmane.emacs.devel Subject: Re: gmail+imap+smtp (oauth2) Date: Tue, 3 May 2022 08:27:40 +0200 Message-ID: References: <871qxbdulc.fsf@mat.ucm.es> Reply-To: jostein@kjonigsen.net Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------r6KcJm5I4YzQW8oRXODIYA0V" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27029"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 03 08:33:19 2022 Return-path: Envelope-to: ged-emacs-devel@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 1nlm61-0006nW-Rw for ged-emacs-devel@m.gmane-mx.org; Tue, 03 May 2022 08:33:19 +0200 Original-Received: from localhost ([::1]:52618 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nlm60-0007b8-0k for ged-emacs-devel@m.gmane-mx.org; Tue, 03 May 2022 02:33:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44072) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlm0n-00059Y-SC for emacs-devel@gnu.org; Tue, 03 May 2022 02:27:56 -0400 Original-Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:33773) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlm0l-00038D-Dn for emacs-devel@gnu.org; Tue, 03 May 2022 02:27:53 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id CE10432009B9 for ; Tue, 3 May 2022 02:27:46 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 03 May 2022 02:27:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= secure.kjonigsen.net; h=cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:reply-to:sender:subject:subject:to:to; s=fm3; t= 1651559266; x=1651645666; bh=QEYy8G7Qk/NHXIghc+p+G/7h4W1cMWq5Q4O kpe1LYZ4=; b=RIDFCMfbFTHCJx49tLlr++mBH5t/TnMMShq5mONvxKU7vu98J0O Ipn5nCZ2KH33WHg6wxZXTKUaoBjOohHP6ktlBpjeRSNg4HrHaEUuzvqWy5CAIaX7 YEHnA47lR5p/bEdW4zKkSOfFpa34WoTRGfV+SfqgNNR+XptqXc4VPbY2W03RHMXM oB1IIUzC4E/dXhMSB6TkNsA3rNdzOR8Kk+bah3AqX2sT79BkyuoTNQ1pHk7QuJdD wUPuh+xIrzc3qVxERql+ApE7U/1mit9OIriPH0j0lnxpqaH5kSou2nZQ8n2QTJ8p ZgfHVsdybTcWcCdh/v7zTPBhSGD2YV46WOA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1651559266; x=1651645666; bh=QEYy8G7Qk/NHXIghc+p+G/7h4W1cMWq5Q4O kpe1LYZ4=; b=qEB55dYIQqCKYv1m6Aap65thF+D1tzVkAePBW33Ax/d+meArIJv CkQb8t8+gJMHPykOIkuW5bTOOH6j7d/pdIWSCijBffVqS4LnZh/MKngGhMRaKBSD w2H02LJEVNcTHRDLkYSOEHe5UgJieDb9syCFFHCTS9oqblWbYSigll6lNqlRdV6J BLa4lsmGYTwLrVOHMEFY4LjA0H4NbZshlY3RjDV2/O4dCIEpTJjzOqz0D7f5FCX6 Vi1xRIbg1J6J2xddchqrrOXRwI68/+LZPomI4Lw/uXBEh4GuWj2yFopbijZ+csB3 7gUMeuwsMRP7TooQPmcJRancsdV/IXQd9fg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdeigddutdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpegtkfffgggfrhfuvfhfhfgjsegrtd erredtfeejnecuhfhrohhmpeflohhsthgvihhnpgfmjhppnhhighhsvghnuceojhhoshht vghinhesshgvtghurhgvrdhkjhhonhhighhsvghnrdhnvghtqeenucggtffrrghtthgvrh hnpeetfeeuleegveetudehleetveelhedvgfetjeegheduheefveekueefgfffteeijeen ucffohhmrghinhepkhhjnhhighhsvghnrdhnohenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehjohhsthgvihhnsehsvggtuhhrvgdrkhhjohhn ihhgshgvnhdrnhgvth X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Tue, 3 May 2022 02:27:45 -0400 (EDT) Content-Language: en-GB In-Reply-To: <871qxbdulc.fsf@mat.ucm.es> Received-SPF: pass client-ip=64.147.123.20; envelope-from=jostein@secure.kjonigsen.net; helo=wout4-smtp.messagingengine.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:289095 Archived-At: This is a multi-part message in MIME format. --------------r6KcJm5I4YzQW8oRXODIYA0V Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 03.05.2022 07:59, Uwe Brauer wrote: > > Hi > > I am forced to use gmail at my university (the features google offer are > a bit different to the personal accounts) > and also for some private stuff. > > There was a discussion in 2022 about the following issue, but then > google dropped this subject because of Covid, however now it seems to > back: > > Now google keeps sending me message that from 30th of May 3rd party > packages cannot connect anymore to imap+smtp via the traditional way. > > It is my understanding that it might be possible make emacs (gnus) work > with gmail under those circumstances, that is using oauth2. > > Has anybody got that to work? > > If so, can he/she share its setting? > > Thanks > > Uwe Brauer > > My understanding may not be perfect, but having considered a similar conundrum for a work-integration, I landed on the conclusion that SMTP and IMAP should keep working as long as you use app-passwords for logging in to your account. If so, that should probably be adequate for Emacs too. Or is my understanding of this situation incorrect? -- Vennlig hilsen *Jostein Kjønigsen* jostein@kjonigsen.net 🍵 jostein@gmail.com https://jostein.kjønigsen.no --------------r6KcJm5I4YzQW8oRXODIYA0V Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit On 03.05.2022 07:59, Uwe Brauer wrote:

Hi

I am forced to use gmail at my university (the features google offer are
a bit different to the personal accounts)
and also for some private stuff.

There was a discussion in 2022 about the following issue, but then
google dropped this subject because of Covid, however now it seems to
back:

Now google keeps sending me message that from 30th of May 3rd party
packages cannot connect anymore to imap+smtp via the traditional way.

It is my understanding that it might be possible make emacs (gnus) work
with gmail under those circumstances, that is using oauth2.

Has anybody got that to work?

If so, can he/she share its setting?

Thanks

Uwe Brauer 


My understanding may not be perfect, but having considered a similar conundrum for a work-integration, I landed on the conclusion that SMTP and IMAP should keep working as long as you use app-passwords for logging in to your account. If so, that should probably be adequate for Emacs too.

Or is my understanding of this situation incorrect?

--------------r6KcJm5I4YzQW8oRXODIYA0V--