Cyrus IMAP is very stable and robust. There are those times however when a database recovery is needed. This document covers my database recovery proceedure for Mac OS X 10.3.8 and Fedora Core 4.
Please keep in mind that there are other recovery tasks you should try first.
Type the following for Mac OS X 10.3.8. This proceedure rebuilds the master database.
> su root
> move /var/imap /var/imap.old
> mkdir /var/imap
> /usr/bin/cyrus/tools/mkimap
> chown -R cyrus:mail /var/imap
> sudo -u cyrus /usr/bin/cyrus/bin/reconstruct -i