Offlineimap 6.4.1 and nested labels in Gmail
I just upgraded to offlineimap 6.4.1 and I was getting the following error message:
“ERROR: INFINITE FOLDER CREATION DETECTED! Folder ‘.foo’ (repository ‘gmailLocal’) would be created as folder ‘/foo’ (repository ‘gmailRemote’). The latter becomes ‘..foo’ in return, leading to infinite folder creation cycles. SOLUTION: 1) Do set your nametrans rules on both repositories so they lead to identical names if applied back and forth. 2) Use folderfilter settings on a repository to prevent some folders from being created on the other side.”
It seemed a little strange that this particular folder was throwing an error message while others did not. I realized it’s because the label “foo” itself didn’t exist in my list of labels. I only had labels nested within it. In other words I had the folders “foo/bar”, “foo/bla” but I didn’t have “foo” by itself. It was working fine before I upgraded never really thought about it much before today.
I created the top level labels in Gmail where needed, and now everything seems to be fine.
Tags: linux, offlineimap
November 22nd, 2011 at 7:58 am
Hello, could you post the nametrans and folderfilter portions of your .offlineimaprc.
I am facing some problems due to the recent upgrade (error: folders already exists and similar), and have downgraded to the previous version for a while.
I am having trouble figuring out how to apply the changes, so your conf might help.
Thanks.
November 22nd, 2011 at 9:42 am
You can get my .offlineimaprc from an older post (scroll down at the bottom of the page).
November 29th, 2011 at 11:51 am
hi,
i am trying to sync one dovecot with one courier IMAP. i have to use imap because dovecot 0.9 only supports mbox and upgrading is not possible right now.
syncin INBOX works fine, but how can i sync offer folders? i tried different nametrans settings but none of them worked for me :/
maybe you could help me out
dovecot folder:
* LIST (\NoInferiors) “/” “INBOX/Archive2011″
courier folder:
* LIST (\HasNoChildren) “.” “INBOX.Archive2011″
November 29th, 2011 at 11:52 am
forgot to say thanks in advice
November 29th, 2011 at 8:21 pm
Hi Sven, Sorry I can’t help you here. I don’t know anything about dovecot. Maybe try the offlineimap or dovecot mailing lists. Good luck!