Hello, I'm having some trouble working on a webapp managing the imap tree on Dovecot. The same doesn't happen on other imap servers (e.g. Cyrus). Looks like if I receive shared folders from another user, and try to rename a folder in it, the rename command returns "ok", then if you list the new folder name, it isn't there. Looks like you've lost all the original folder because if you try listing the parent folder, you don't have nor the original nor the new name, even trying to logout/disconnect and reconnect/login. Luckily nothing is lost actually, if you try to create a new folder on the parent folder, and then list the parent folder, you get both the newly created one and the renamed one also appears magically! Here is the IMAP trace to reproduce: *** ON ACCOUN RECEIVING SHARED FOLDER *** PREPARE A FOLDER IN SHARED TREE WITH JUST ONE CHILD "aaaa" *** THEN RENAME aaaa FOLDER TO bbbb *** AFTER "OK Rename" FOLDER IS NOT PRESENT IN LIST A3 LIST "" Shared/gabriele.prova@sonicle.com/Junk/aaaa
- LIST (\HasNoChildren) "/" Shared/gabriele.prova@sonicle.com/Junk/aaaa A3 OK List completed. A4 RENAME Shared/gabriele.prova@sonicle.com/Junk/aaaa Shared/gabriele.prova@sonicle.com/Junk/bbbb A4 OK Rename completed. A5 LIST "" Shared/gabriele.prova@sonicle.com/Junk/bbbb A5 OK List completed. *** bbbb IS NOT LISTED AFTER "OK Rename"! *** LOGOUT/DISCONNECT - CONNECT/LOGIN AND LIST BRANCH *** A66 LIST "" "Shared/gabriele.prova@sonicle.com/%"
- LIST (\HasNoChildren) "/" Shared/gabriele.prova@sonicle.com/Sent
- LIST (\HasNoChildren) "/" Shared/gabriele.prova@sonicle.com/Drafts
- LIST (\HasNoChildren) "/" Shared/gabriele.prova@sonicle.com/Trash
- LIST (\HasNoChildren) "/" Shared/gabriele.prova@sonicle.com/Spam
- LIST (\HasNoChildren) "/" Shared/gabriele.prova@sonicle.com/Junk
- LIST (\HasNoChildren) "/" Shared/gabriele.prova@sonicle.com/INBOX A66 OK List completed. *** Junk HAS NO CHILDREN! *** CREATE A NEW FOLDER IN Junk *** A68 CREATE Shared/gabriele.prova@sonicle.com/Junk/zzzz A68 OK Create completed. A69 LIST "" Shared/gabriele.prova@sonicle.com/Junk/zzzz
- LIST (\HasNoChildren) "/" Shared/gabriele.prova@sonicle.com/Junk/zzzz A69 OK List completed. *** "zzzz" IS LISTED, SO NOW LIST PARENT BRANCH *** A26 LIST "" "Shared/gabriele.prova@sonicle.com/%"
- LIST (\HasNoChildren) "/" Shared/gabriele.prova@sonicle.com/Sent
- LIST (\HasNoChildren) "/" Shared/gabriele.prova@sonicle.com/Drafts
- LIST (\HasNoChildren) "/" Shared/gabriele.prova@sonicle.com/Trash
- LIST (\HasNoChildren) "/" Shared/gabriele.prova@sonicle.com/Spam
- LIST (\HasChildren) "/" Shared/gabriele.prova@sonicle.com/Junk
- LIST (\HasNoChildren) "/" Shared/gabriele.prova@sonicle.com/INBOX A26 OK List completed. *** Junk NOW HAS CHILDREN, SO NOW LIST Junk BRANCH *** A29 LIST "" "Shared/gabriele.prova@sonicle.com/Junk/%"
- LIST (\HasNoChildren) "/" Shared/gabriele.prova@sonicle.com/Junk/bbbb
- LIST (\HasNoChildren) "/" Shared/gabriele.prova@sonicle.com/Junk/zzzz A29 OK List completed. *** bbbb MAGICALLY APPEARS! NOTHING IS LOST. Is there anything I can do to force "bbbb" to reappear without having to create a new folder? Any idea? Thanks in advance, Gabriele
Sonicle S.r.l. : http://www.sonicle.com Music: http://www.gabrielebulfon.com Quantum Mechanics : http://www.cdbaby.com/cd/gabrielebulfon