summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpraschdorff <p.raschdorff@googlemail.com>2018-03-03 21:42:03 +0100
committerGitHub <noreply@github.com>2018-03-03 21:42:03 +0100
commit31002f29a78649d113f5323232e71101ce759fa5 (patch)
treec546ba2c0caa791abbbec0212fd880a3830a6c7c
parent6b72e911d8031e7bac2cfc26294c93c32d7c1c5e (diff)
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.
-rw-r--r--autoconf/offlineimap_profile1
1 files changed, 1 insertions, 0 deletions
diff --git a/autoconf/offlineimap_profile b/autoconf/offlineimap_profile
index 01b572c..ce7a01b 100644
--- a/autoconf/offlineimap_profile
+++ b/autoconf/offlineimap_profile
@@ -4,6 +4,7 @@ localrepository = $title-local
remoterepository = $title-remote
[Repository $title-remote]
+auth_mechanisms = LOGIN
type = $type
remoteuser = $login
sslcacerfile = /etc/ssl/cets/ca-certificates.crt