Mailbox recalculation issue

Mailbox recalculation issue

   KB 22721        Last updated on 2016-06-9  

(0 votes)


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:]  [;mid=1;ip=;oip=;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
       at com.zimbra.common.service.ServiceException.FAILURE(
       at com.zimbra.cs.mailbox.MailItem.updateUnread(
       at com.zimbra.cs.mailbox.Folder.updateUnread(
       at com.zimbra.cs.mailbox.Message.updateUnread(
       at com.zimbra.cs.mailbox.MailItem.alterUnread(


zmprov recalculateMailboxCounts

Additional Information

For more informtation see bug 67006

Verified Against: Zimbra Collaboration 8.6, 8.5, 8.0 Date Created: 06/07/2016
Article ID: Date Modified: 2016-06-09

Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Wiki/KB reviewed by SME1 SME2 COPY EDITOR Last edit by Teodor Vizirov
Jump to: navigation, search