[gentoo-user] Re: Google and "fetchmail" + "ssmtp"

2022-03-18 Thread Dr Rainer Woitok
Nikos,

On Thursday, 2022-03-17 19:04:04 +0200, you wrote:

> ...
> I don't use fetchmail (just an email client), but fetchmail 7 apparently 
> supports oauth2. It's masked in portage because it's still alpha 
> (net-mail/fetchmail-7.0.0_alpha9-r1).
> 
> And then read:
> 
> http://mmogilvi.users.sourceforge.net/software/oauthbearer.html
> 
> Which also seems to contain Gentoo instructions. Apparently, you don't 
> need to apply the patches for fetchmail 6 if you instead unmask and 
> emerge the 7.0.0 alpha version.

Really interesting reading.  Thanks for the pointer.  And also thanks to
the other responders.

Sincerely,
  Rainer



[gentoo-user] Re: Google and "fetchmail" + "ssmtp"

2022-03-17 Thread Nikos Chantziaras

On 17/03/2022 18:51, Dr Rainer Woitok wrote:

Greetings,

since quite some time,  longe before  "converting" to Gentoo,  I've used
"fetchmail" and "ssmtp" to retrieve and send mail via my Google account.

Some time after I had all set up,  Google started nagging  about my not-
so-secure access to my mail account via just userid and password.  Up to
now I simply ignored that.   But now Google told me  to only allow "Sign
in with Google" or OAuth 2.0 after 2022-05-30.

I've seen quite a few people with "@gmail" or "@googlemail" addresses on
this list, so others might have a similar problem,  but maybe nobody but
me is using this Google + "fetchmail" + "ssmtp" combination.   Any ideas
how to get OAuth into this set-up?


I don't use fetchmail (just an email client), but fetchmail 7 apparently 
supports oauth2. It's masked in portage because it's still alpha 
(net-mail/fetchmail-7.0.0_alpha9-r1).


And then read:

http://mmogilvi.users.sourceforge.net/software/oauthbearer.html

Which also seems to contain Gentoo instructions. Apparently, you don't 
need to apply the patches for fetchmail 6 if you instead unmask and 
emerge the 7.0.0 alpha version.