Re: OAuth2 authenticator problem

Matthias Andree <[email protected]> Tue, 22 Mar 2022 09:11:34 +0100
Newsgroups gmane.mail.fetchmail.user
Message-ID <[email protected]>
Am 21.03.22 um 14:56 schrieb Robin Atwood:
> I saw the message from Gmail saying that using apps like fetchmail
> would stop working on 30/05/2022. Searching showed that OAuth2
> support was included in fetchmail-7.0.0-alpha so I installed it. Setting
> up the oauth2 script was straightforward enough but I had a bit of a
> tussle getting registered with Google! Eventually I could kick off
> fetchmail and receive my mail. Thank you Matthew Ogilvie!
>
> But (you knew this was coming :)) after about a day I started getting
> fetchmail messages:
>
> Mar 20 22:19:36 localhost fetchmail[29377] We've run out of allowed authenticators and cannot co
> ntinue.
> Mar 20 22:19:36 localhost fetchmail[29377] Authorisation failure on
> [email protected]@pop.gmail.com (previously authorised)
>
That's a sign that you had left authentication set to automatic and the
XOAUTH2 or OAUTHBEARER authentication method started failing with your
server at some point. Re-obtaining a new token with the script may fix
it, else running fetchmail in verbose mode (-v or -v -v) may give you
sufficient information to pinpoint the failure.