How to recover the database of cyrus

 To recover the database of cyrus follow the following steps : 
  1. su - cyrus
  2. ctl_cyrusdb -r -x
    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).
  3. (For more info see man page for ctl_cyrusdb)