RENAME command doesn't rename subfolders
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cyrus-imapd-2.2 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: cyrus-imapd-2.2
When moving an IMAP folder from one parent to another, it's subfolders don't get moved, contrary to RFC 3501. I tested this with an account on a Cyrus IMAP server (Ubuntu version 2.2.13-13ubuntu3), using the RENAME command. I do have unixhierarchysep enabled.
How to reproduce this bug:
1) Log in (1 LOGIN user pass)
2) 1 CREATE A
3) 1 CREATE A/B
4) 1 LIST A * - shows both folders
5) 1 RENAME A C
6) 1 LIST C * - shows only C
7) 1 LIST A * - shows only A/B
... i.e. A/B was left behind when renaming A to C.
This affects Thunderbird, as it (correctly, according to RFC 3501) expects the server to move sub-folders.
RFC 3501 says...
If the name has inferior hierarchical names, then the inferior
hierarchical names MUST also be renamed. For example, a rename of
"foo" to "zap" will rename "foo/bar" (assuming "/" is the
hierarchy delimiter character) to "zap/bar".
Hi Cybah,
Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Ubuntu version. When you test it and it is still an issue, kindly upload the updated logs by running only once:
apport-collect 373790
and any other logs that are relevant for this particular issue.