From: "jean-marc delpech" <[EMAIL PROTECTED]>
> how can I recreate the /var/imap/mailboxes.db ?
> I know I can recover the databases after a crash but if
> I would like to recreate it, is it possible.
> In fact the pb is that some body create a folder with cyradm,
> but after somebody else delete this user directly on the hard
> drive. Every body can see this forlder but it doesn't exist
> really ...
>
In Cyrus 1.5 - 1.6 you used "reconstruct -r" to rebuild the mailboxes files.
For 2.0.x, I believe this is currently broken for the mailboxes.db file.
What you will need to do is dumb the mailboxes.db file to a file and then
edit that file to remove the deleted folder.

    1. Run ctl_mboxlist -d > mboxlist.temp to dump existing mailboxes.
    2. Remove mailboxes.db file: rm mailboxes.db
    3. Edit mboxlist.temp to remove the folder
    4. Run ctl_mboxlist -u < mboxlist.temp to change the contents of
mailboxes.db.

Scot

Reply via email to