From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Cesar Crusius Newsgroups: gmane.emacs.devel Subject: Re: Any interest in an XOAUTH2 patch for smtpmail (Gmail 2-factor auth)? Date: Fri, 05 Jan 2018 22:50:50 -0800 Message-ID: <87zi5r32gl.fsf@gmail.com> References: <87373j4tcf.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1515221495 19600 195.159.176.226 (6 Jan 2018 06:51:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 6 Jan 2018 06:51:35 +0000 (UTC) User-Agent: mu4e 0.9.18; emacs 25.3.1 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 06 07:51:31 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eXiKI-0004hT-Ae for ged-emacs-devel@m.gmane.org; Sat, 06 Jan 2018 07:51:30 +0100 Original-Received: from localhost ([::1]:51472 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eXiMH-0001WO-Hm for ged-emacs-devel@m.gmane.org; Sat, 06 Jan 2018 01:53:33 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eXiLg-0001WC-BM for emacs-devel@gnu.org; Sat, 06 Jan 2018 01:52:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eXiLc-00018I-DZ for emacs-devel@gnu.org; Sat, 06 Jan 2018 01:52:56 -0500 Original-Received: from mail-pl0-x244.google.com ([2607:f8b0:400e:c01::244]:33724) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eXiLc-00017a-5q for emacs-devel@gnu.org; Sat, 06 Jan 2018 01:52:52 -0500 Original-Received: by mail-pl0-x244.google.com with SMTP id 1so4489385plv.0 for ; Fri, 05 Jan 2018 22:52:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:subject:in-reply-to:date:message-id :mime-version; bh=pb47DjeGP3buQHk3lXbR7HLtjftKQ4mFAjWWmTbnUks=; b=XkF7PTcwRhocGp6xu1eh0mHKT08KSe0mqbOuTcvdaXB3dg9uZZxOYGd1hhOPLeHRsP 5JVWFosQB5eMOaOCHJF/BaBTMfkhH3w/kmt4z/F2EjYfoKL+/yIEWxa29bx6YNko2cRz ysJfLf+z0/ING5KZBT4uN5ke5XHgAWRdeZzg78m/U3WPCauKtYLmTDvxdrD0B1tbcKXb L94PKLnr6fswG6j6qKp6CVsNwfgquxxp0wA6+wj164fFsMENhstL58YeeIuy1uVy83EW yaa/2x4a+bDJUKYCut/wHaa921bO6vv5GAcQFOksJzsDGE/AsYDpcX/SKw1l97xv2XKU QuVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject :in-reply-to:date:message-id:mime-version; bh=pb47DjeGP3buQHk3lXbR7HLtjftKQ4mFAjWWmTbnUks=; b=SoLjXKF1FAu1Z7fPaqgSzGasRs6uykmARbDAMYFnSJ1rOy9Q1qhP87h85Wjlff2zUP P0DwH5X4i2Ht0jiGuiu7xthyFTYcMEZPN7g+PbkvdTZ9bMWQKM/8Xxxs+BAIFcbl3gT7 ShX2A35rMsA7huzzPaVfO6bAEEnodsvseZwZgQpXXNQ1lYUHYDZ/EnWMLAdLDTm++GR4 /e2wqKUmKpEbsfrA27C3aULUW2VcpFXUkrQNwj41tr1zu//ey27PTxUVwKN90lFLqvzL LUWqYMv30NLaGYZNoqMpHS9GVJ/ZGxUSYzcDT3Wc2b9+a8clMGyRuBn19X+Zr9oN846Z QTPw== X-Gm-Message-State: AKGB3mJe5cM+c+6ocW9hYGU2lLLpwo9YuwkRCy7IpR61wHE94dIoLSzD lxoLgmXOyVwmf181GQ1SUq67+Uu9 X-Google-Smtp-Source: ACJfBougUeekfRB4G5t/+AcZHmCMEDaEF4wv8etk/IG+MPeGslnW1ukpj3G7qTfuxqOiRQTBt6p3yg== X-Received: by 10.159.233.198 with SMTP id b6mr5702338plr.428.1515221570514; Fri, 05 Jan 2018 22:52:50 -0800 (PST) Original-Received: from cesars-w520 (c-24-4-33-27.hsd1.ca.comcast.net. [24.4.33.27]) by smtp.gmail.com with ESMTPSA id q14sm17641137pfg.34.2018.01.05.22.52.48 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Jan 2018 22:52:49 -0800 (PST) In-reply-to: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c01::244 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:221634 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat 06 Jan 2018 at 05:32, John Wiegley wrote: > CC> Is there any interest in a patch? > > This sounds useful to me. How will users know to enable the extra behavio= r? I'm not sure what you mean, but one of the challenges here will be to document this properly. My plan is to add a new variable 'smtpmail-xoauth2-token' that if non-nil both enables the behavior and configures the service, and to document it to exhaustion. =2D-=20 Cesar Crusius --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAEBCAAdFiEEsu/ErKn7yEV7E0FU/X9qSDfQj2EFAlpQccoACgkQ/X9qSDfQ j2GO2Av+J3FMv5MC5k3bevQfflG6jx0OeVNKkJHWVmnuEj2TtRW9QXz2QLNPVRTP Pinf4Al3LTKG30XSZ2kCn+1c0W1iH6t0ZPDmTdj9UgciF9UsAbxaVXK0eNoza317 rfAw93RNl5F2OZ97Gf+Z6qtZ4VSJm0kFUf5JStHo/rUHiGZPf59Goqbvvvl9xVx8 +jIc7nnzT1rlzFvHLoq/xtLDwSGK0DLcTt+0xWYo1wTKZ3s5z5rOhKjMG8/FQIGG lEeJFXJpCrtU6XP7P2KJtCI8M2xQEKVof1CXoJ8CJ9mvIOtEAxOHrflBrObs8GaV pLzX5Ju9KCqHPAORBOI/S4YjdPKFpET79PCyFVd5ankXknk6uYiv9Cfu1lRzaS5e 8H47JlqiCneJA6cMLu8kIS43fBEY/78Hn+SjgQIwn//u/Dn2fJoDTpJnGV7K134M DR4QBkhEcMIbMKngsHaRVEpJJVcpIa9JQp0IxZHbCX0q8KeoPLMBXWpPDiyn9nRA e4v4m58D =OrMo -----END PGP SIGNATURE----- --=-=-=--