To recover the database of cyrus follow the following steps :
- su - cyrus
- ctl_cyrusdb -r -x
(For more info see man page for ctl_cyrusdb)
where, -r : Recover the databases after an application or system failure. Also performs database cleanup like
removing mailbox reservations (and any associated mailbox files).
-x : Used with -r to recover the database only. (Prevents database cleanup).