The following error appeared in the error.log of my Kerio Mail server:
Cannot access message 0000000x in folder ~<a href="mailto:firstname.lastname@example.org">email@example.com</a>/INBOX
In most of the cases, Kerio Mail Server is smart enough to repair the errors by itself. But in some cases, it just doesn't work. Manual repair is required.
- Make sure all your clients are disconnected from the server - so you won't have any active sessions left
- Go to the folder: /store/mail/domain/user/folder_name/
- Rename the file index.fld to index.fld.bad
- Now connect again with your user. Kerio Mail Server will see the index file is missing and it will automatically rebuild it. This step can take a while for very large mail folders!