Re: KeyError: 'refresh_token' error in fetchmail-oauth2

Lucio Chiappetti <[email protected]> Fri, 29 Apr 2022 17:17:11 +0200 (CEST)
Newsgroups gmane.mail.fetchmail.user
Message-ID <[email protected]>
On Thu, 28 Apr 2022, Matthias Andree wrote:

> We can stop that nonsense today, and not be made jump through the hoops.
> The proper user response is: take your data while you still can, and to
> where you will not be bullied. It may be inconvenient. ...

I have been following the discussion on oauth2 both on the alpine and 
fetchmail mailing lists. With some (or a lot of) worry.

I have "always" (that means from the '90s) been used to receive *and 
store* my mail on my (work) computer. This was fine and gradually I added 
also a number of procmail filters. For a time I also followed the local 
implementation of sendmail in my institute.

For some time we had a local institute IMAP, but that was mainly for those 
we called "the homeless" (those using a Windows PC and not having a home 
on a Linux workstation). I still received all mail on my work computer. I 
had (still have) a local IMAP which can be activated on my own work 
computer, and used it seldom on some long trips. But I prefer to ssh to 
such work computer, and run alpine there (what I regularly do from home 
during this pandemics).

Unfortunately a while ago my institution (which is composed of several 
institutes) made a move towards Gsuite (apparently one of the reasons was 
that the kmow-how about home-grown mail handling solutions was 
disappearing).

I managed to continue "business as usual" like before ADDING fetchmail in 
the loop: http://sax.iasf-milano.inaf.it/~lucio/WWW/WhereManWins/gs.html

I still get all my mail on my work computer through my procmail rules, 
with the little price of a 5 min delay (I run fetchmail every 5 min) and
a daily cleanup of the Gsuite Bin (I can manage 99% of this via 
Alpine/IMAP without using Gmail web interface) ... I leave only spam 
there :-)

I receive only a smll percentage of my mail on another public provider (an 
old fashioned civic network, which has only POP support; I now use 
fetchmail on it too, but 3-4 times a day only).

If fetchmail would not continue to operate with Gsuite, I guess I'd be 
forced to look for some other (fetchmail-friendly) provider (if I only had 
a static IP and not a CGNAT DHCP at home, I would even be ready to run my 
own MX/SMTP) and possibly route all Gsuite mail to it.

Advices and suggestions are welcome.

-- 
Lucio Chiappetti - INAF/IASF - via Corti 12 - I-20133 Milano (Italy)
For more info : http://www.iasf-milano.inaf.it/~lucio/personal.html
------------------------------------------------------------------------
"All that is google does not glitter
  Nor all who use alpine/procmail are lost"