If an imap server returns a namespace that begins with a hierarchy delimiter, in order to distinguish that namespace from a personal folder with the same name, then our IMAP code gets very confused, and shows each level in the hierarchy as a top level folder.
Created attachment 276019 [details] [diff] [review] proposed fix this fixes the problem so such folders are at least usable. We're still not doing things exactly right - we should be creating a munged directory name for the "/home" container .sbd file instead of "home.sbd", e.g., "338384.sbd" so we'll have issues if the user has a "home" folder as well. But this is much better than the previous behavior.
the basic problem is fixed - we'll let this bake on the trunk. Might be good for a 2.0.0.x release...
fix landed for 126.96.36.199