Background:
Have been using pine/alpine for over two decades.
Its a gem for users with a minimalist unix mindset.
I use alpine on windows.
Suddenly it stopped working with gmail few days ago.
I then upgraded to 2.24 and followed xoauth2 instructions and all was fine again except request for password 2 times for every email sent.
It took me a few days to find the narkive link:
https://comp.mail.pine.narkive.com/tkKwzXkJ/gmail-with-alpine-not-anymore-possible
and discover that smtp *must* also be modified to use xoauth2:
smtp:
smtp.gmail.com/ssl/user=***@id.com/auth=xoauth2
(I was first on the wrong track with trying to find what corresponds to .pin.pwd or .pine.passfile on windows
so that the password would be saved. After modifying smtp server as above - password file is not
needed and emails are sent using xoauth2 seamlessly)
In fact my inbox path is still using:
{
imap.gmail.com:993/ssl/novalidate-cert/user=***@id.com}inbox
I did not change that xoauth2 but it still works.
It would help users like me if this was made clear in the instruction screen when version 2.24 on windows is first launched.
Many thanks for keeping pine/alpine alive.
Kind regards -Rakhal