Re: Getmail OAUTH gmail failure
Gary Schmidt <[email protected]> Sat, 12 Mar 2022 23:53:40 +1100
| Newsgroups | gmane.mail.getmail.user |
|---|---|
| Message-ID | <CAAqJEJcUDFCQsaSWFSdmzGQ_37LSVsU-debw-dVu3zDwfdZQCg@mail.gmail.com> |
On Sat, Mar 12, 2022 at 11:25 PM Pieter van Oostrum <[email protected]> wrote: > Gary Schmidt <[email protected]> writes: > > > Getmail has been happily pulling stuff down from gmail using OAUTH for, > oh, > > a week or so, and it's just started doing this: > > > [SNIP] > > Could it be that the access-token has expired? I have looked into the code > of getmail-gmail-xoauth-tokens and I got the impression that it doesn't do > a refres of the token, wnen it expires. It probably will give an error > message, but if you run getmail in the background you may not see this. > > Yes, I think you are right, I ran the "getmail-gmail-xoauth-tokens --init" command again and it now works. Hopefully it will stick this time, I wonder what broke it? Cheers, Gary B-)