how to rebuiild mailboxes.db ?

Lawrence Greenfield leg+ at andrew.cmu.edu
Thu Dec 12 18:17:51 EST 2002


   Date: Tue, 10 Dec 2002 17:02:28 -0700 (MST)
   From: RJ45 <rj45 at slacknet.com>

   I got my mailboxes.db  mangled because of a file system problem.
   I cannot even delete or modify quota of some accounts anymore, it tells me
   mailbox format is invalid.
   How can I rebuild the whole mailboxes.db file?
   is it possible to fix mailboxes.db ?
   thanks

There are several different methods. Among them:

You can dump mailboxes.db (ctl_mboxlist -d) and then undump it after
removing all the database files.

You can delete mailboxes.db and ask "reconstruct -r -f" to recreate
it. (You'll have to give reconstruct -r -f some starting places,
though.)

Larry





More information about the Info-cyrus mailing list