Renaming/Deleting Folders with Mozilla/Netscape
Bernd Nies
bernd.nies at adnovum.ch
Mon Apr 14 10:34:23 EDT 2003
Hi,
We're running Cyrus IMAP 2.1.12 on Solaris 8. While testing with Mozilla
1.3 and Netscape 4.x I stumbled across a possible bug with Cyrus.
After deleting or renaming a folder with the mail client an empty
directory with the old name remains on the IMAP server file system.
root at mailserver:/data/mail1/user/bernd> ls -al
total 200
drwx------ 8 cyrus cyrus 7680 Apr 14 16:06 .
drwx------ 199 cyrus cyrus 3584 Apr 7 18:32 ..
-rw------- 1 cyrus cyrus 6697 Apr 14 15:35 980.
-rw------- 1 cyrus cyrus 3210 Apr 14 15:39 981.
-rw------- 1 cyrus cyrus 3076 Apr 14 15:53 982.
-rw------- 1 cyrus cyrus 2860 Apr 14 15:55 983.
-rw------- 1 cyrus cyrus 3111 Apr 14 16:06 984.
drwx------ 2 cyrus cyrus 512 Apr 11 10:05 Junk
drwx------ 2 cyrus cyrus 512 Apr 11 10:05 Sent
drwx------ 2 cyrus cyrus 7680 Apr 14 15:17 Trash
drwx------ 2 cyrus cyrus 512 Apr 14 11:51 adnovum
-rw------- 1 cyrus cyrus 13784 Apr 14 16:06 cyrus.cache
-rw------- 1 cyrus cyrus 151 Apr 11 10:05 cyrus.header
-rw------- 1 cyrus cyrus 1012 Apr 14 16:13 cyrus.index
drwx------ 2 cyrus cyrus 512 Apr 14 15:14 public
drwx------ 2 cyrus cyrus 512 Apr 14 11:53 test
When renaming the renamed folder back to its origin name or creating a
new folder with the same name the empty directory gets reused, so it's
not very tragic. This does not happen when renaming or deleting folders
with cyradm and the folders also don't show up when doing a list mailbox:
mailserver> lm user/bernd/*
user/bernd/Junk (\HasNoChildren) user/bernd/Trash (\HasNoChildren)
user/bernd/Sent (\HasNoChildren)
This bug also exists with 2.2.0 alpha.
Regards,
Bernd Nies
More information about the Info-cyrus
mailing list