offlineimap icon indicating copy to clipboard operation
offlineimap copied to clipboard

Some Gmail accounts stuck on "processing" step

Open rgri opened this issue 9 months ago • 0 comments

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

  • system/distribution (with version): MacOS Monterey 12.5.1
  • offlineimap version (offlineimap -V): 8.0.0
  • Python version: 3.11.4
  • server name or domain: Gmail
  • CLI options: None

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 = [email protected]
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/[email protected]

[Repository Remotegmail3]
type = Gmail
remotehost = imap.gmail.com
remoteuser = [email protected]
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 = [email protected]
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

  • Run offlineimap

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.

rgri avatar Sep 11 '23 11:09 rgri