Receiving emails - IMAP Authentication with OAuth 2.0
Added by Sir Will over 2 years ago
Hello,
is there currently any option to configure the receiving of emails with IMAP via OAuth? I'm currently using Gmail with plain Username + Password authentication, but this will probably no longer work soon:
Starting May 30, 2022, Google will no longer support the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password.
https://support.google.com/accounts/answer/6010255
Replies (5)
RE: Receiving emails - IMAP Authentication with OAuth 2.0 - Added by David Fouche over 2 years ago
+1
RE: Receiving emails - IMAP Authentication with OAuth 2.0 - Added by Simon Song over 2 years ago
+1
Anyone with a solution to this?
RE: Receiving emails - IMAP Authentication with OAuth 2.0 - Added by Tomoko Shimizu over 2 years ago
+1
I think the procedure described on this page may be helpful. I have not tried it yet.
"Setting Up OAUTH2 Support for Fetchmail and Postfix"
http://mmogilvi.users.sourceforge.net/software/oauthbearer.html
RE: Receiving emails - IMAP Authentication with OAuth 2.0 - Added by Sir Will over 2 years ago
I have created an App Password now, which requires 2FA to be enabled for the Google account, but seems to work so far. (https://support.google.com/mail/answer/185833)
RE: Receiving emails - IMAP Authentication with OAuth 2.0 - Added by Lars M. about 2 years ago
Please have a look here on how to solve this problem: https://www.redmine.org/issues/37688#note-17