• Welcome
  • Research
  • Publications
  • Informatics
  • Students
  • Photos
  • 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: ,

    5 Responses to “Offlineimap 6.4.1 and nested labels in Gmail”

    1. anonymous penguin Says:

      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.

    2. François Says:

      You can get my .offlineimaprc from an older post (scroll down at the bottom of the page).

    3. sven Says:

      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″

    4. sven Says:

      forgot to say thanks in advice :)

    5. François Says:

      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!

    Leave a Reply

    *