From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <20141101001426.GA2731@dinah> References: <8dd4e651db2f5fe19ce37dd53ad473d2@hamnavoe.com> <20141101001426.GA2731@dinah> Date: Sat, 1 Nov 2014 01:34:21 -0700 Message-ID: From: Skip Tavakkolian To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=001a113d29d4e4be2c0506c7fa32 Subject: Re: [9fans] Setting up Mail in Acme on the Raspberry Pi. Topicbox-Message-UUID: 2282ab32-ead9-11e9-9d60-3106f5b1d025 --001a113d29d4e4be2c0506c7fa32 Content-Type: text/plain; charset=UTF-8 embrace, extend, snuff? :) if anyone wants to give it a try, there is enough Go code -- packages and samples -- to make it less painful. here's a sample [0] OAuth2-based web server ("resource provider") that works with Google ("identity provider"). it runs on Plan 9, but each instance will need its own client ID and client secret from Developer Console. the code for installed app should be similar [1] with auth tokens coming through a redirect to localhost rather than accessing a web address. the access token can then be forward to imap4 or smtp [2] -Skip [0] https://gist.github.com/9nut/1f883d857369a279f289#file-oa2srv-go [1] https://developers.google.com/accounts/docs/OAuth2InstalledApp [2] https://developers.google.com/gmail/xoauth2_protocol On Fri, Oct 31, 2014 at 5:14 PM, Anthony Martin wrote: > Richard Miller <9fans@hamnavoe.com> once said: > > - finally, after receiving a "Google Account: sign-in attempt blocked" > > email from google, followed their suggestion to: > > > > "change your settings at > > https://www.google.com/settings/security/lesssecureapps so that your > > account is no longer protected by modern security standards." > > > > I guess upas/smtp is considered a less secure app. > > Embrace, extend, and ... well, you know the rest. > > http://forums.mozillazine.org/viewtopic.php?f=39&t=2852231 > > Anthony > > --001a113d29d4e4be2c0506c7fa32 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
embrace, extend, snuff? :)

if any= one wants to give it a try, there is enough Go code -- packages and samples= -- to make it less painful.

here's a sample [0] OAu= th2-based web server ("resource provider") that works with Google= ("identity provider"). it runs on Plan 9, but each instance will= need its own client ID and client secret from Developer Console. the code = for installed app should be similar [1] with auth tokens coming through a r= edirect to localhost rather than accessing a web address. the access token = can then be forward to imap4 or smtp [2]



On Fri, Oct 31, 2014 at 5:14 PM, Anthony Ma= rtin <ality@pbrane.org> wrote:
Richard Miller <9fans@hamnavoe= .com> once said:
> - finally, after receiving a "Google Account: sign-in attempt blo= cked"
> email from google, followed their suggestion to:
>
> "change your settings at
> https://www.google.com/settings/security/lesssecureapps= so that your
> account is no longer protected by modern security standards."
>
> I guess upas/smtp is considered a less secure app.

Embrace, extend, and ... well, you know the rest.

http://forums.mozillazine.org/viewtopic.php?f=3D39&am= p;t=3D2852231

=C2=A0 Anthony


--001a113d29d4e4be2c0506c7fa32--