Dear Maintainer,
Today the offlineimap3 package was upgraded to version 8.0.3+dfsg-1..
When I then tried to fetch mail from Gmail or Outlook365 with offlineimap using oauth-tokens created by mutt_oauth2.py all accounts failed with errors similar to
imap: Socket dead after XOAUTH2 failure, aborting remaining auth methods
imap: GRemote: level 'tls_compat', version 'None'
imap: Attempting XOAUTH2 authentication
imap: xoauth2handler: access_token "None expires 2026-06-21 15:06:56.805205"
imap: xoauth2handler: returning "user=jonasjlinde@gmail.com^Aauth=Bearer None^A^A"
imap: xoauth2handler: access_token "None expires 2026-06-21 15:06:56.805205"
imap: xoauth2handler: returning "user=jonasjlinde@gmail.com^Aauth=Bearer None^A^A"
This has worked flawlessly for years with the only issue being that I needed to authenticate new oauth-tokens for Outlook365 every six months or so.
Getting a new oauth-token was no problem but didn't help.
As a workaround I downgraded offlineimap to the Trixie-version (offlineimap-0.0~git20240826.db34745+dfsg-2) which works as expected.