Rainer M Krug <rai...@krugs.de> writes:

> Hi
>
> I get the following error when authorizing with gmail. The strange thing
> is that the sync works afterwards anyway. Any suggestions?
>
> ,----
> | ...
> | XOAUTH2 authentication failed: AUTHENTICATE command error: BAD
> | ['Client aborted AUTHENTICATE command. 24mb158715449edv']. Data:
> | DKIJ2 AUTHENTICATE XOAUTH2
> | ...
> | XOAUTH2 authentication failed: AUTHENTICATE command error: BAD
> | ['Client aborted AUTHENTICATE command. i20mb364599303ede']. Data:
> | CGCN2 AUTHENTICATE XOAUTH2
> | ...
> | XOAUTH2 authentication failed: AUTHENTICATE command error: BAD
> | ['Client aborted AUTHENTICATE command. o13mb189629961edo']. Data:
> | NCJO2 AUTHENTICATE XOAUTH2
> | ...
> `----

Forgot to ad my .offlineimaprc file - here it is:

,----
| [general]
| accounts = Gmail
| maxsyncaccounts = 3
| fsync = true
| ignore-readonly = no
| pythonfile = ~/.offlineimap.py
| 
| [Account Gmail]
| localrepository  = LocalRMKrugGMAIL
| remoterepository = RemoteRMKrugGMAIL
| ######
| status_backend = sqlite
| ######
| postsynchook = /usr/local/bin/notmuch new
| ######
| autorefresh = 2
| quick = 10
| ######
| 
| [Repository RemoteRMKrugGMAIL]
| type = Gmail
| sslcacertfile = /usr/local/etc/openssl/cert.pem
| ######
| remoteuser = USERNA=ME
| remotepasseval = get_keychain_pass(account="RMKrugGmailOfflineimap")
| ######
| maxconnections = 5
| ######
| nametrans = lambda foldername: 'RMKrugGMAIL.' + foldername
| ######
| ######
| keepalive = 60
| holdconnectionopen = no
| ######
| 
| 
| [Repository LocalRMKrugGMAIL]
| type = IMAP
| preauthtunnel = /usr/local/opt/dovecot/libexec/dovecot/imap -o 
mail_location=maildir:$HOME/Maildir
| holdconnectionopen = yes
| ######
| nametrans = lambda folder: re.sub('^RMKrugGMAIL.', '', folder)
| ######
| folderfilter = lambda folder: folder.startswith('RMKrugGMAIL')
| ######
| keepalive = 60
| holdconnectionopen = no
| ######
`----

>
> Thanks
>
> Rainer

-- 
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

Attachment: signature.asc
Description: PGP signature

_______________________________________________
OfflineIMAP-project mailing list: OfflineIMAP-project@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepages:
- https://github.com/OfflineIMAP
- http://offlineimap.org

Reply via email to