Hi everybody, I'm not sure I fully understood the function of "reconstruct", so if anyone could give me a hint here...
I'm trying to move one mailfolder for the user "dimitri", which is located in /var/spool/imap/user/dimitri: -rw------- 1 cyrus mail 4 Sep 19 22:47 cyrus.cache -rw------- 1 cyrus mail 181 Sep 19 22:47 cyrus.header -rw------- 1 cyrus mail 56 Sep 19 22:47 cyrus.index drwx------ 2 cyrus root 117 Sep 19 22:47 drafts drwx------ 2 cyrus root 117 Sep 19 22:47 sent-mail drwx------ 2 cyrus root 117 Sep 19 22:46 spam drwx------ 2 cyrus root 117 Sep 19 22:51 trash I'm trying to move the "spam" folder below the "trash" folder (using "mv"). After this I obviously need something like reconstruct, but it gives me this: cyrus@centauri:~ > reconstruct -r user.dimitri user.dimitri user.dimitri.drafts user.dimitri.sent-mail user.dimitri.spam: System I/O error No such file or directory user.dimitri.trash So I thought, well, the "-f" option looks promising, but wait: cyrus@centauri:~ > reconstruct -rf user.dimitri user.dimitri user.dimitri.drafts user.dimitri.sent-mail user.dimitri.spam: System I/O error No such file or directory discovered user.dimitri.trash.spam user.dimitri.trash: Mailbox does not exist user.dimitri.trash.spam So it found the moved mailbox, but it didn't remove the missing one. Using "reconstruct -m" doesn't work either: "reconstructing mailboxes.db currently not supported". I'm not sure if the quota command should help, but I get some error too: cyrus@centauri:~ > quota -f __db_assert: "0" failed: file "../dist/../db/db_cam.c", line 86 Aborted Still, if I run it on a single mailbox (not the modified one), it works: cyrus@centauri:~ > quota -f user.christin Quota % Used Used Root 250000 0 2 user.christin Does anybody know what I'm doing wrong? Is there any way to make imapd aware of removed folders? Any hint would be greatly appreciated. I'm quite confused. I'm using cyrus-imapd 2.0.16. Regards, Kai