>I encountered this exact situation (directories manually deleted, >leading to an unreconstructable mailbox) about a month ago. The solution >we chose was to export the mailboxes db (ctl_mboxlist -d), delete the >bogus entries from the textfile, then import it back in. > >However, this may not be the Right Way to fix it. In our case the server >was down anyway (the damaged mailbox had killed an overnight quota check >and corrupted the quota db), so this "brute force and ignorance" approach >made sense at the time.
I would "mkdir" the appropriate directories. This will let reconstruct run correctly. You can then delete the mailboxes. So: % mkdir /var/spool/imap/user/leg % cyradm localhost cyradm> reconstruct user.leg cyradm> sam user.leg <admin> all cyradm> dm user.leg Larry