On 20.11.24 23:49, Joseph Tam via dovecot wrote:
I just did this for my alpine mail reader, and it's not so simple.  It may
be simpler to use a mail reader that has XOAUTH2 built in, then connect to
both Gmail and your mail account, then drag and drop all your mailboxes.

If you want to do it the hard way,  the document for alpine might be
useful for a single Gmail account, at least to set up the Gmail end.

    https://alpineapp.email/alpine/alpine-info/misc/ xoauth2.html#SettingUpGmail

After that, you have to do some rigamrole to use these IDs to create
the credentials you can use for IMAP authentication.

     (Applicable only for alpine but show the interaction)
    https://alpineapp.email/alpine/alpine-info/misc/ AuthorizeAlpineGmail.html

The answer from Aki Tuomi [1] to use the Google OAUTH was already very helpful for me. It worked out fine for me to copy the Bearer token from there. The use of copy the messages in Thunderbird was my backup option as well.

Good luck.
Joseph Tam <jtam.h...@gmail.com>

Best,
Jan

[1] https://dovecot.org/mailman3/archives/list/dovecot@dovecot.org/message/TYAK5IJMBZFYOOZDALMN5RMRKC24IFQ6/
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to