bug in rmquota+deletemailbox patch for cyrus-imapd
by: Michal Hlavinka <mhlavink.NOSP@MMER.redhat.com>, @ Fri, 04 Jun 2010 16:04:11 +0300


based on the info on the patch web page this seems to be correct email address
for reporting bugs.

We found there is problem with rmquota+deletemailbox patch. If a user or an
administrator renames or deletes a mailbox folder with a quota limit the imapd
process keeps file descriptor open for each folder and all contained
subfolders. So if you rename user/account/a/a/a into user/account/b/a/a 3 file
descriptors are lost. Users with big folder hierarchy run out of file
descriptor when renaming top level folders. If an administrator moves users
between different partitions (renm user/account user/account newpartition),
things get more worse because more descriptors seems to leak out and the
command aborts quite soon leaving mailboxes spread between partitions behind.

Michal Hlavinka