[Tickets #5764] Re: renaming MIX format folders fails

bugs at bugs.horde.org bugs at bugs.horde.org
Thu Oct 25 05:01:09 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=5764
-----------------------------------------------------------------------
 Ticket             | 5764
 Updated By         | Michael Slusarz <slusarz at horde.org>
 Summary            | renaming MIX format folders fails
 Queue              | IMP
 Version            | 4.1.4
 Type               | Bug
 State              | Not A Bug
 Priority           | 2. Medium
 Owners             | Michael Slusarz
-----------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2007-10-24 22:01) wrote:

> The sent-mail folder does not have any subfolders. So even if the 
> IMAP server returns both "sent"
> and "sent/" as you claim, It still doesn't make any sense for IMP to 
> rename the sent-mail
> folder twice.

Again, you are missing the point.  If we need to rename sent, we sure as
heck need to rename all subfolders also.  So if your IMAP server is telling
us that 'sent/' is a child of 'sent', then we need to rename 'sent/' also.

> Also, if I rename "a" to "z", it makes no sense for IMP to rename 
> "a/b" to "z/b" and then
> rename "a" to "z". As RFC3501 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".

And this would be fantastic *if* all IMAP servers followed this.  But
several don't.  So we need to manually do the renaming ourselves.



More information about the bugs mailing list