mutt-wizard/autoconf/offlineimap_profile
praschdorff 31002f29a7
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.
2018-03-03 21:42:03 +01:00

20 lines
483 B
Plaintext

[Account $title]
localrepository = $title-local
remoterepository = $title-remote
[Repository $title-remote]
auth_mechanisms = LOGIN
type = $type
remoteuser = $login
sslcacerfile = /etc/ssl/cets/ca-certificates.crt
remotepasseval = mailpasswd("$title")
remotehost = $imap
port = $iport
folderfilter = lambda foldername: foldername not in ['[Gmail]/All Mail']
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
[Repository $title-local]
type = Maildir
localfolders = ~/.mail/$title