Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to get offlineimap to synchronize (with reverse nametrans) with my gmail account. Here are relevant parts of my offlineimaprc:

[Repository gm_local]
nametrans = lambda folder: re.sub('spam', '[Google Mail].Spam',
                           re.sub('drafts', '[Google Mail].Drafts',
                           re.sub('sent', '[Google Mail].Sent Mail',
                           re.sub('bin', '[Google Mail].Bin',
                           re.sub('archive', '[Google Mail].All*', folder)))))

[Repository gm_remote]
nametrans = lambda folder: re.sub('.*Spam$', 'spam', 
                           re.sub('.*Drafts$', 'drafts', 
                           re.sub('.*Sent Mail$', 'sent', 
                           re.sub('.*Bin$', 'bin', 
                           re.sub('.*All$', 'archive', folder)))))

All the folders are synced correctly, apart from the stubborn 'All Mail' which I can't get to sync. How can I fix the problem with 'All Mail' synchronization?

share|improve this question
up vote 1 down vote accepted

Make sure you're actually susbscribed to any folders you're missing sync on.

In my case, I forgot to check if I was actually subscribed to the "All Mail" folder in Gmail itself.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.