Mailbox recalculation issue
After a restore from a backup, an e-mail is stuck in the Inbox as unread.
When trying to mark it as read, the following exception is produced:
2014-05-12 09:43:50,630 INFO [qtp58648533-5694:https://169.254.254.2:7443/service/soap/MsgActionRequest]
[name=malte.stretz@example.com;mid=1;ip=169.254.0.102;oip=131.169.214.202;ua=ZimbraWebClient - FF29 (Linux)/8.0.7_GA_6021;] SoapEngine - handler exception
com.zimbra.common.service.ServiceException: system failure: inconsistent state: unread < 0 for item 2
ExceptionId:qtp58648533-5694:https://169.254.254.2:7443/service/soap/MsgActionRequest:1399887830630:614f5e33fd12e368
Code:service.FAILURE
at com.zimbra.common.service.ServiceException.FAILURE(ServiceException.java:258)
at com.zimbra.cs.mailbox.MailItem.updateUnread(MailItem.java:2361)
at com.zimbra.cs.mailbox.Folder.updateUnread(Folder.java:610)
at com.zimbra.cs.mailbox.Message.updateUnread(Message.java:1291)
at com.zimbra.cs.mailbox.MailItem.alterUnread(MailItem.java:2207)
Solution:
zmprov recalculateMailboxCounts user@domain.com
Comments
Post a Comment