Sync fails with offlineimap-7.1.0

Nicolas Sebrecht nicolas.s-dev at laposte.net
Tue May 2 07:22:23 UTC 2017


On Tue, May 02, 2017 at 07:48:18AM +0200, Andreas Fink wrote:

> > > OfflineIMAP 7.1.0
> > >   Licensed under the GNU GPL v2 or any later version (with an OpenSSL exception)                     
> > > *** Processing account gmail    
> > > Establishing connection to imap.googlemail.com:993 (gmailremote)                                  
> > > XOAUTH2 authentication failed: AUTHENTICATE command error: BAD ['Client aborted AUTHENTICATE command. r7mb353432922edb']. Data: LPNC2 AUTHENTICATE XOAUTH2
> > > 
> > > PLAIN authentication failed: [AUTHENTICATIONFAILED] Invalid credentials (Failure)
> > > LOGIN authentication failed: [AUTHENTICATIONFAILED] Invalid credentials (Failure)
> > > ERROR: All authentication types failed:
> > >         XOAUTH2: AUTHENTICATE command error: BAD ['Client aborted AUTHENTICATE command. r7mb353432922edb']. Data: LPNC2 AUTHENTICATE XOAUTH2
> > > 
> > >         PLAIN: [AUTHENTICATIONFAILED] Invalid credentials (Failure)
> > >         LOGIN: [AUTHENTICATIONFAILED] Invalid credentials (Failure)
> > > *** Finished account 'gmail' in 0:01
> > > ERROR: Exceptions occurred during the run!
> > > ERROR: All authentication types failed:
> > >         XOAUTH2: AUTHENTICATE command error: BAD ['Client aborted AUTHENTICATE command. r7mb353432922edb']. Data: LPNC2 AUTHENTICATE XOAUTH2
> > > 
> > >         PLAIN: [AUTHENTICATIONFAILED] Invalid credentials (Failure)
> > >         LOGIN: [AUTHENTICATIONFAILED] Invalid credentials (Failure)  

> No I get the exact same exception message now with 7.0.14 and python2 as with 7.1.0.

No surprise, here. There are very few changes between both.

>                                                                                      My
> offlineimaprc is attached. My setup is local dovecot imap syncing with remote gmail imap.
> get_username and get_password get the credentials from gnome-keyring...

Thanks.

I've made a change in current 'next' branch for users not using XOAUTH2.
Could you try it, please?


-- 
Nicolas Sebrecht



More information about the OfflineIMAP-project mailing list