Bug#551923: mailbox rename fails with special user names

Dan White dwhite at olp.net
Sun Jan 17 06:06:48 UTC 2010


> Package: cyrus-imapd-2.2
> Version: 2.2.13-14+lenny3
> Severity: normal
> File: cyrus-imapd
> 
> # cyradm -u cyrus -w 123 localhost
> localhost> create user/cyrus.test
> localhost> rename user/cyrus.test user/test.cyrus
> renamemailbox: Permission denied
> localhost> create user/test.cyrus
> localhost> quit
> 
> It is possible to create a mailbox user/test.cyrus.
> Consequently it should be possible to rename user/cyrus.test to
> user/test.cyrus.

The 'Permission denied' error is due to incorrect permissions:

zek.olp.net> create user/cyrus.test
zek.olp.net> setacl user/cyrus.test cyrus all
zek.olp.net> rename user/cyrus.test user/test.cyrus
renamemailbox: Operation is not supported on mailbox
zek.olp.net> 

After some searching, I found that renaming top-level (user) mailboxes is
not yet supported by upstream:

http://cyrusimap.web.cmu.edu/imapd/bugs.html

and here:

http://oreilly.com/catalog/mimap/chapter/ch09.html

I confirmed this still occurs on the latest upstream release (2.3.16).

-- 
Dan White





More information about the Pkg-Cyrus-imapd-Debian-devel mailing list