Getting offlineimap to maintain a specific maildir structure

Sebastian Spaeth Sebastian at
Fri Aug 31 19:52:11 BST 2012

Rogério Brito <rbrito at> writes:

>> > | nametrans		= lambda name: re.sub('^', '.', re.sub('^(\[Gmail
>> > \]/|INBOX)', '', name))


I have just tried to debug this and configured an IMAP account and a

nametrans = lambda f: re.sub('^INBOX$','.',f)
rule for the IMAP server. I could reproduce your error with the current
master branch. But it is already fixed in the current "next" branch.

So this problem will be solved with the next release of OfflineImap. Do
check out the current next branch and see if it works to your


More information about the OfflineIMAP-project mailing list