OfflineIMAP / offlineimap

Read/sync your IMAP mailboxes (python2) [LEGACY: move to offlineimap3]
http://www.offlineimap.org
Other
1.78k stars 360 forks source link

Some Gmail accounts stuck on "processing" step #734

Open rgri opened 1 year ago

rgri commented 1 year ago

When running offlineimap with the following configuration, gmail1 and gmail2 will synchronize normally, but offlineimap will be come stuck with the following output in the terminal:

 *** Finished account 'gmail2' in 0:09
Account sync gmail3:
 *** Processing account gmail3

Nothing further will occur until the process is killed.

General informations

Configuration file offlineimaprc

# Sample minimal config file.  Copy this to ~/.offlineimaprc and edit to
# get started fast.

[general]
accounts = gmail1,gmail2,gmail3

[Account gmail3]
maxage=30

localrepository =  Localgmail3
remoterepository = Remotegmail3

[Account gmail2]
maxage=30

localrepository = Localgmail2
remoterepository = Remotegmail2

[Account gmail1]
maxage=30

localrepository = Localgmail1
remoterepository = Remotegmail1

[Repository Localgmail2]
type = Maildir
localfolders = ~/.mail/gmail2storage

[Repository Remotegmail2]
type = Gmail
remotehost = imap.gmail.com
remoteuser = gmail2@gmail.com
remotepass = PASSWORD2
ssl = yes
sslcacertfile = /etc/ssl/cert.pem
folderfilter = lambda foldername: foldername not in ['[Gmail]/All Mail', '[Gmail]/Important']

[Repository Localgmail3]
type = Maildir
localfolders = ~/.mail/gmail3@gmail.com

[Repository Remotegmail3]
type = Gmail
remotehost = imap.gmail.com
remoteuser = gmail3@gmail.com
remotepass = PASSWORD3
ssl = yes
sslcacertfile = /etc/ssl/cert.pem
folderfilter = lambda foldername: foldername not in ['[Gmail]/All Mail', '[Gmail]/Important']
[Repository Localgmail1]
type = Maildir
localfolders = ~/.mail/gmailstorage

[Repository Remotegmail1]
type = Gmail
remotehost = imap.gmail.com
remoteuser = gmail1@gmail.com
remotepass = PASSWORD1
ssl = yes
sslcacertfile = /etc/ssl/cert.pem
folderfilter = lambda foldername: foldername not in ['[Gmail]/All Mail', '[Gmail]/Important']

Steps to reproduce the error

Since the configurations for all of my accounts are almost identical, I am sure this must be some issue between offlineimap and my gmail3 google account. Any help debugging this would be appreciated.