Unread message count is wrong in Mail and Dock

Just last week I noticed that both my Email Inbox & Mail Dock Icon is showing an incorrect unread message count on both my MacBook & iMac. I am using a Microsoft Exchange Hosted account (Office 365) and it is the only email account tied to both of my Macs. My iPhone shows the correct unread message count as well as Outlook Web Access, and on a seperate windows-based computer, Outlook is showing the correct unread message count of 3. Both Mac systems are using OS X 10.7.3 and I have never experienced this issue before.


The MacBook is showing 39 unread messages, and the iMac is showing 16, in actuality there are 3 unread messages. If I create a smart mailbox that shows only unread messages - it shows up with the correct number (3), when I sort by "Unread Messages" for Inbox, it only shows that I have three unread messages.


I have rebuilt the inbox, I have deleted the email account from the computer, restarted the computer and then readded it, all it did was bring the unread message count from 19 to 16 on my iMac (still - it should be 3).


I have also gone to Mail -> Preferences -> General and verified that Show Dock Unread County is set to "Inbox" but oddly enough, when I click "All Mailboxes" the unread count on the Dock changes to 3.


Is there a file I can delete to reset that unread message count? I feel like I've done everything that's suggested to no avail.


Thanks!

iMac (21.5-inch Mid 2011), Mac OS X (10.7.3)

Posted on Mar 4, 2012 7:10 PM

Reply
99 replies

Nov 13, 2013 4:42 PM in response to brookyang

Thought this posted the other night, but apparently not. Here goes again:


Thanks for getting back to me. Tried that also. Could something be different with 10.9?


This is the screen shot:


dougs-imac:MailData Doug$ sqlite3 Envelope\ Index

SQLite version 3.7.13 2012-07-17 17:46:21

Enter ".help" for instructions

Enter SQL statements terminated with a ";"

sqlite>

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Unread message count is wrong in Mail and Dock

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.