added option to get rid of COATH2 authentication failed warnings

If running offlineimap it will show the following warning message (tested when using GMAIL)...

 XOAUTH2 authentication failed: AUTHENTICATE command error: BAD ['Client aborted AUTHENTICATE command.
<randomstring>']. Data: DIEF2 AUTHENTICATE XOAUTH

... and then continue with the download/sync of emails.
You can get rid of the warning message, when adding auth_mechanisms = LOGIN .offlineimaprc in the <...>-remote section.
This commit is contained in:
praschdorff 2018-03-03 21:42:03 +01:00 committed by GitHub
parent 6b72e911d8
commit 31002f29a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,7 @@ localrepository = $title-local
remoterepository = $title-remote remoterepository = $title-remote
[Repository $title-remote] [Repository $title-remote]
auth_mechanisms = LOGIN
type = $type type = $type
remoteuser = $login remoteuser = $login
sslcacerfile = /etc/ssl/cets/ca-certificates.crt sslcacerfile = /etc/ssl/cets/ca-certificates.crt