Okay, it sounds like one of your mailboxes is corrupt. So to find the one that is affected you can run
Code:
su - zimbra
zmprov gaa | xargs -i zmprov getMailboxInfo {} Once you have found the account using that mailbox, disable IMAP to that account and restart the mailbox service using
Code:
zmmailboxdctl restart
When that is running again try to re-index the account using
Code:
zmprov rim {user@domain} start when that has finished re-enable IMAP access and see if that has cured the problem.