From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 23575 invoked from network); 3 May 2022 17:37:56 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 3 May 2022 17:37:56 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nlwTB-00207I-Qx for ml@inbox.vuxu.org; Tue, 03 May 2022 12:37:53 -0500 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94.2) (envelope-from ) id 1nlwTB-008BWI-3y for ml@inbox.vuxu.org; Tue, 03 May 2022 12:37:53 -0500 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtp (Exim 4.94.2) (envelope-from ) id 1nlwT8-008BW9-Jd for ding@lists.math.uh.edu; Tue, 03 May 2022 12:37:50 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nlwT5-004ToV-J0 for ding@lists.math.uh.edu; Tue, 03 May 2022 12:37:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=mRDR6zN4If826npTKaCxW2HfhV4d3W5n8/9eZYudDC0=; b=sx6bLoUSPF15gO4PMqIUTxYp5x thxCM6wFf60vsjfCa2rL0d4pzhtmn/ROc9e/q/1HoVChJs+87CPOrSRJmX/whip47PdgyAbFQKtGQ qWMrMcuYX1wsujZRCw4s0+j7ppzqZHTJPub9/zj74MpfSzt7GXXI1/vyNudBGmb+pxUw=; Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nlwSx-0000TI-QW for ding@gnus.org; Tue, 03 May 2022 19:37:42 +0200 Received: by mail-pj1-x1031.google.com with SMTP id fv2so15951388pjb.4 for ; Tue, 03 May 2022 10:37:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bobnewell-net.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version; bh=mRDR6zN4If826npTKaCxW2HfhV4d3W5n8/9eZYudDC0=; b=EiGGsu0gPTftjAhqYkXDGx8eC+2/+D1GTaXM6ZyQg/EZk9fGuX9sCi7TN0vtE2+r10 PUaWDtz8tH61nyiIwWtig6RhTs/Rcqp8xP/XCC54D6VGIpypJ3wlaN5/CWvN35qV1yj8 ohEs3SoESfiUPoOuMdyS+XBHWWBIKVyXJbrhvbFaIdiJ+Vy/LIh1rDgQIXynDOzmT0k5 qR6v0KTFitE+hRvPTu3GuB2gh4hW84bKT6l7PdGCI9fYwSDf9dSZjyycWlNuGTTUB4GG BFoG4xjfgIPEOwkQYZ4KyJxOCDplODmoqNtctYNrocwWQBwo9MGAMBy2fBehFLK1LcPM 1RKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:organization:references:date :in-reply-to:message-id:user-agent:mime-version; bh=mRDR6zN4If826npTKaCxW2HfhV4d3W5n8/9eZYudDC0=; b=MoKm2VyU5YFZMggTSf3+ROKIADB04wHcNp0byhrWxa9eFiHkzFsCvvUpRbG98miY8j ZQVMKaRXAQxtAeAL2OXuPMZ1sBoF5WnKShiGZUrVi+HG+7fFq2oxTVHRzX10FU40iiuv Lq93Pa0rvf4ai6uanHfOc+WfaZYCP3iDManYsDhmwdIh/9r1LpuDeXeUSAni3zay7FSt QLfjT72d1KVLbX3xh//0E6D4n5yYsmOitFhoPbXUy/9lm5p8nqZxtEw71Ia8FxFXldKk K0l6GOIzf5K1JjCC3sF0YlM34/Wx52IaLxn44ay4MeLO+oN9l77OUU1F/dk5Z6u50XeK nztg== X-Gm-Message-State: AOAM533NkpkW1fa9ryrJDB97Ba75W30tEySEm95n+DtRynxn3ccw29Ke muuSBhsdj1pRGkVbWfjPRFFNew== X-Google-Smtp-Source: ABdhPJxtO5CdmZUe+PwDGbhFoVylhlIeWvtG0KQaQ74MW/FWjPmQhkLf1h/B5R14RWzp40fv4GY4kg== X-Received: by 2002:a17:902:b906:b0:158:3120:3b69 with SMTP id bf6-20020a170902b90600b0015831203b69mr17431539plb.33.1651599456205; Tue, 03 May 2022 10:37:36 -0700 (PDT) Received: from localhost (dhcp-141-239-251-8.hawaiiantel.net. [141.239.251.8]) by smtp.gmail.com with ESMTPSA id c6-20020aa78806000000b0050dc7628137sm6755965pfo.17.2022.05.03.10.37.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 May 2022 10:37:35 -0700 (PDT) From: Bob Newell To: Eric S Fraga Cc: ding@gnus.org Subject: Re: gmail+imap+smtp (oauth2) Organization: Avi Gobbler Publishing References: <87sfpswhy2.fsf@mat.ucm.es> <87r15cjhim.fsf@ucl.ac.uk> Date: Tue, 03 May 2022 07:37:34 -1000 In-Reply-To: <87r15cjhim.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Mon, 02 May 2022 12:33:37 +0100") Message-ID: <877d7234bl.fsf@undisclosedlocation.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain List-ID: Precedence: bulk Eric S Fraga writes: > On Monday, 2 May 2022 at 08:45, Uwe Brauer wrote: >> There have been some discussion, either on emacs-devel or here, how to >> make emacs (gnus) work with gmail under those circumstances, that is >> using oauth2. > > Uwe, > > I had the same problem with our institution which uses Exchange and > moved to multi-factor authentication, i.e. oauth2. I solved this > problem by using davmail [1]. I don't know if this will work for gmail > as well but you may wish to try. I don't see how to make davmail work with gmail, as it's intended for Exchange. But I have not investigated deeply. The option I intend to try when the time comes (I have a Workspace account and the deadline hasn't been announced yet) is app passwords. These are available if you're willing to put up with the initial hassle of two-factor authentication. Fortunately you can mark a device as trusted and only have to deal with the two-factor authentication one time per device. I have read accounts of how to make oauth2 work natively with gnus, but I haven't tried it and it seemed "complex and wonderful" so I'm going to try app passwords first. -- Bob Newell Honolulu, Hawai`i - Via GNU/Linux/Emacs/Gnus/BBDB