cyrus mailboxes.db is corrupted

I have deleted mail folders and files from my cyrus mail directory using "rm", but obvioulsy the mailboxes of these files are still in the Cyrus database, that is mailboxes.db. I have tried to correct this problem by dumping mailboxes.db into a text file (using ctl_mboxlist), editing the text file, and then reconstructing mailboxes.db. However, I am getting the error message "fatal error: can't read mailboxes file". Tried everything that comes to mind or read mailboxes.db, but without success. Please help.

Thank you.
Who is Participating?
jlevieConnect With a Mentor Commented:
Were you doing the reconstruction of the mailboxes db as the Cryus user?

Did you restart master after futzing with the mailboxes db?

Have you done (as the Cyrus user) a 'reconstruct -r user.whoever'?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.