Reconstructing a user's mailbox
Note: run these commands as the cyrus user, not root.
You want to reconstruct the index files for a user, you have recovered a deleted mail file from backup and given it a suitable name (eg user/ben-lacy/33.), but it is not visible since it is not indexed:
reconstruct -r user.ben-lacy
If you have the
unixhierarchysep:yes option set in /etc/imapd.conf you would need to run:
reconstruct -r user/ben.lacy