Hi all,
I have a problem with listing shared folders. In my web application I don't get the whole folder tree at once but get them level by level with:
LIST "" "subfolder/%" RETURN (CHILDREN)
Now I have an issue with shared folders. If I share folder test/sub with another user it returns it's (not shared) parent folder with this command:
LIST "" "shared/someuser/%" RETURN (CHILDREN)
But if I do the same with INBOX/sub it will not return the "INBOX" folder with the above command. Is that a bug or does anybody know why it behaves differently?
Also, If I do:
LIST "" "shared/someuser/*" RETURN (CHILDREN)
it will return both the subfolder of test and inbox.
My shared namespace is setup like this:
namespace { type = shared separator = / prefix = shared/%%u/ # a) Per-user seen flags. Maildir indexes are shared. (INDEXPVT requires v2.2+) location = maildir:%%h/Maildir:INDEXPVT=~/Maildir/shared/%%u # b) Per-user seen flags. Maildir indexes are not shared. If users have direct filesystem level access to their mails, this is a safer option: #location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u:INDEXPVT=~/Maildir/shared/%%u subscriptions = no list = children }
Thanks for any help!
Best regards, Merijn