Strange error but synching anyway with gmail

Rainer M Krug Rainer at krugs.de
Wed Sep 21 11:29:16 BST 2016


Rainer M Krug <Rainer at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 454 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20160921/740d5070/attachment-0003.sig>


More information about the OfflineIMAP-project mailing list