[Alpine-info] fetchmail and oauth2 - was Re: Seeking someone who..?
Andrew C Aitchison
andrew at aitchison.me.uk
Sun Dec 3 21:36:17 PST 2023
On Sun, 3 Dec 2023, Steve Litt asked:
> Can Fetchmail do oauth2?
Literally yes, though you need either developmental version 7,
or third-party patches for version 6.
However Matthias Andree has not been as successful as Eduardo in finding
a way through the hoops to make it work with particular providers
and has given up on the politics, threatening to remove oauth2 from
the development version.
> Does any Fetchmail substitute (getmail, for instance) do Oauth2?
Getmail 5.6
https://www.bytereef.org/howto/oauth2/getmail.html
Getmail6, which IIRC is a fork of getmail, not a new version:
https://getmail6.org/configuration.html
https://shallowsky.com/blog/tech/email/gmail-api-oauth2.html
suggests that the getmail-gmail-xoauth-tokens script used above
can be used independently of getmail, so it might be the way to get
fetchmail through some of the hoops.
I haven't tried it, but
https://github.com/simonrob/email-oauth2-proxy
is supposed to interpose between an OAuth2 MTA and a non-OAuth2 MUA.
> If not, this dispossesses people like me, who download email messages
> independently of their email client.
>
> So once again I ask, if you have the power to make the decision, do
> you really want to jump through all the hoops Gmail puts in front of
> you?
GMail is not my main email account, so I can avoid all these issues by
getting gmail to forward my email to my main account.
--
Andrew C. Aitchison Kendal, UK
andrew at aitchison.me.uk
More information about the Alpine-info
mailing list