From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: gmail+imap+smtp (oauth2) Date: Sun, 08 May 2022 18:00:58 +0200 Message-ID: <87mtfs2ev9.fsf@gmail.com> References: <871qxbdulc.fsf@mat.ucm.es> <87k0b2tkg1.fsf@mat.ucm.es> <87zgjx4qhs.fsf@gmail.com> <87bkwcgmr3.fsf@mat.ucm.es> <87sfpo3xai.fsf@gmail.com> <87a6bsw0pc.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12188"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 08 18:03:39 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 1nnjNj-00030K-35 for ged-emacs-devel@m.gmane-mx.org; Sun, 08 May 2022 18:03:39 +0200 Original-Received: from localhost ([::1]:36418 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nnjNh-0001hN-IG for ged-emacs-devel@m.gmane-mx.org; Sun, 08 May 2022 12:03:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34012) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnjLE-0006eB-LI for emacs-devel@gnu.org; Sun, 08 May 2022 12:01:04 -0400 Original-Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:46724) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nnjLC-0001QF-W0 for emacs-devel@gnu.org; Sun, 08 May 2022 12:01:04 -0400 Original-Received: by mail-wr1-x42e.google.com with SMTP id i5so16348454wrc.13 for ; Sun, 08 May 2022 09:01:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=VV6GDVumA2MvhYKyOi2a7pfPTwQrBN3mIs040xt7YN0=; b=DoxcumkwYk8R4U1BQjid2MsTcH358zdN/U7S0NdialO6n+IQr/5Z/uRzp0dDUT+l7L QF+LojqwO+21b27TTgjFfrJRWbUEs4ITJZOg5OmBlVQ332B/T6fy6W1duf67V1wRmlxJ SZ5SoWKGzRtR7hYa1iD79tfv7HxynnrTCZjXyg0yxm5vXKUR/tnS4CxoCeSixHVYVBy0 dsF5J1q5F8jnN/cSA2oAOgkN1IiXjjW15QrmAG3ZT5mm1lz1xM3zTQgsfC70uKddF/h0 Hr+ZwGHPcrl7g2V3SDFl6gfQtqPPh4s1z0OG5G2FIUNoHOVJ6VLCt+PjB03OEVIm1JYp +X6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:references:gmane-reply-to-list :date:in-reply-to:message-id:mime-version:content-transfer-encoding; bh=VV6GDVumA2MvhYKyOi2a7pfPTwQrBN3mIs040xt7YN0=; b=RURUa6g94XSBSB/P9SE9KtOoxWTErCOcDZ0FpPsDsEmSdNHyCtuOF8QBGxL5y2BRTr e7OFUUwMTA7XMTBgQXYdYOMMvCLmTVJe3TEc3FvGk6o6/gGKVBgbFgHkAq3hsLNCclIT t9sNpplm2sHSWgptBlUPxHtIkg9FNvVSWdVp4zd2VnCLh8VV4hMREcAVro5ulcPCBJFl p/oLpPgi8heILwkQV2r1RVyFPgcPKjYtJqjuPnKI5VRgdzO3ZS80DGIW7Zc29GWHLLKt y7HWR+oUdkFUSwtvTTfKVjY0BMWYEJlTfBkNTci9yzI3gKHgmdUAt4H9Ad1TFtlkm/Jv yUZg== X-Gm-Message-State: AOAM531Qpn9TI3MdBmM2UbvPrAw1//TocYVsOOWu1inpxAX+fPK/UD3t eXJ63SAHoplOiX5ETqkmQUTqlY5OJPk= X-Google-Smtp-Source: ABdhPJzlRoFPgxV2H8UJg9fs0ieBmxBgF+nN3jsWzMaYPw7jb/4yoZivdzED3HLhpgJBBnerzvNN1Q== X-Received: by 2002:adf:e10e:0:b0:206:2d7:b4de with SMTP id t14-20020adfe10e000000b0020602d7b4demr10204735wrz.497.1652025659992; Sun, 08 May 2022 09:00:59 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb50:43ed:f907:c414:6056]) by smtp.gmail.com with ESMTPSA id i3-20020adff303000000b0020c5253d8fcsm10770899wro.72.2022.05.08.09.00.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 09:00:59 -0700 (PDT) Gmane-Reply-To-List: yes In-Reply-To: <87a6bsw0pc.fsf@mat.ucm.es> (Uwe Brauer's message of "Sun, 08 May 2022 16:36:31 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=rpluim@gmail.com; helo=mail-wr1-x42e.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 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, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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:289487 Archived-At: >>>>> On Sun, 08 May 2022 16:36:31 +0200, Uwe Brauer said: Uwe> I might give it a try but what is the syntax in teh authinfo file The auth-source info documentation has plenty of gory details Uwe> My original setting is=20 Uwe> machine smtp.gmail.com login oub@ucm.es port 587 password passwd Uwe> machine UCMgmail login oub@ucm.es password passwd port imaps Uwe> Tassilo suggested Uwe> machine imap.gmail.com login USER@gmail.com password APP_PWD force= yes Most fields in .authinfo are optional, so machine foo login bar machine foo login bar port baz are both legal. For gmail I have machine imap.gmail.com login USER password APP_PWD port imaps (the "force yes" stuff is only needed for servers that don=CA=BCt advertise that you need to authenticate) Robert --=20