Skip navigation

unread mail count wrong

15324 Views 32 Replies Latest reply: Feb 4, 2014 11:58 AM by Poetnerd RSS
1 2 3 Previous Next
bandit Level 3 Level 3 (875 points)
Currently Being Moderated
Aug 1, 2011 2:50 PM

I am using Apple's mail program, version 5.0. My unread mail count in the IN box show's an unread mail, but there is none. In the past when this has happened, I had been able to rebuild each mail box and the problem went away. That's not happening this time.

 

I made a smart mailbox and told all unread mail to go to it. Nothing did. I have checked each and every mail folder I have and rebuilt each one. I still have the one unread mail in my mailbox.

 

Does anyone have any idea how to fix this? This just happened since upgrading to Lion. I know it's not a BIG problem, it just bothers me.

iMac 3.2 GHz, blk macbook, 15" macbook pro, iphone 4, Mac OS X (10.6.7)
  • mikkofromhelsinki Level 1 Level 1 (0 points)
    Currently Being Moderated
    Aug 2, 2011 6:28 AM (in response to bandit)

    I have the same problem. Really bothersome. When I select all and mark them as unread I have 217 mails and 248 unread. Or when I select all and mark them as read I still have 31 as unread. For me this is on one of the mail accounts only (the exchange one). All others seem to work OK for now. Problem started after updating to Lion.

     

    macbook 13" with Mac OS X (10.7)

  • CT Level 6 Level 6 (15,035 points)
    Currently Being Moderated
    Aug 2, 2011 6:32 AM (in response to bandit)

    Does this problem persist after starting in Safe Mode?

     

    http://support.apple.com/kb/ht1455

     

    charlie

  • Stephen Jendraszak Level 1 Level 1 (5 points)
    Currently Being Moderated
    Aug 11, 2011 1:02 PM (in response to bandit)

    I have the same issue. Would love to hear if anyone has found a solution.

  • JakubD Level 1 Level 1 (0 points)
    Currently Being Moderated
    Oct 10, 2011 12:15 PM (in response to bandit)

    I see the same problem on my iMac, but have more interesting insights! I see one unread message in my company Exchange account. If I select all, mark as unread, it still does not disappear. I have also created a smart mailbox that contains only unread messages, but it is empty and does not show the one mysterious unread message.

     

    Now what is interesting. I am accessing this email account also at work via Outlook, and also on my MacBook Pro, and iPhone, and on all these devices, I do not see this problem = no unread messages! So the problem must be connected to the iMac itself.

     

    Any help?

  • Chris Thomerson Level 1 Level 1 (25 points)
    Currently Being Moderated
    Oct 10, 2011 12:45 PM (in response to JakubD)

    Close the mail program.

    In your library ( ~/library/ ) mail>mail data folder there are several "envelope" files, ie. envelope, envelope-shm, envelope-wal... remove these to your desktop... incase you want to put them back.

    Restart mail, it will rebuild these files probably correctly.

    If satisfied, drag the old versions"envelope" files on your destop to the trash.

     

    Alternative, OnyX is a Mac utility that has a "rebuild envelope files" option, does the same job.

  • Stephen Jendraszak Level 1 Level 1 (5 points)
    Currently Being Moderated
    Oct 10, 2011 1:00 PM (in response to bandit)

    JakubD, that describes my symptoms exactly as well. Chris, thanks for the suggestion! I tried using OnyX to rebuild the envelopes files ... alas, no dice. The phantom message remains.

     

    sj

  • Chris Thomerson Level 1 Level 1 (25 points)
    Currently Being Moderated
    Oct 10, 2011 1:04 PM (in response to Stephen Jendraszak)

    Have you tried physically removing the files and letting mail rebuild from scratch?

  • Stephen Jendraszak Level 1 Level 1 (5 points)
    Currently Being Moderated
    Oct 10, 2011 1:33 PM (in response to Chris Thomerson)

    That seems to have done it! Takes a while to rebuild the whole index, but it did the trick. Thanks, Chris!

  • JakubD Level 1 Level 1 (0 points)
    Currently Being Moderated
    Oct 10, 2011 2:23 PM (in response to Chris Thomerson)

    Chris, many thanks! I did the envelope* files deletation and it worked. First it seemed I have lost all of my 5000 mails after the rebuild, as the mailbox was empty (but smart mailboxes showed the files), but one Mail kill and restart worked! :-) All mails there, no mysterious unread message anymore!!

     

    One more interesting thing regarding the Dock wrong mail count... Both the mailbox and the Dock showed one unread message. The settings "dock unread count" were made to show just the INBOX messages! When I set Dock unread count to "All mailboxes", Dock icon showed NO unread messages. VERY strange - I would expect exactly the opposite!! 

  • Chris Thomerson Level 1 Level 1 (25 points)
    Currently Being Moderated
    Oct 10, 2011 2:40 PM (in response to JakubD)

    Was it Inspector Clouseau who said "expect the unexpected?"

  • iamdjdmoney Level 1 Level 1 (0 points)
    Currently Being Moderated
    Oct 15, 2011 11:43 AM (in response to Chris Thomerson)

    Thanks Chris. This also worked for me!

  • stranks Level 1 Level 1 (0 points)
    Currently Being Moderated
    Oct 16, 2011 6:32 PM (in response to Chris Thomerson)

    Problem: My dock reads the proper number of unread emails between my two accounts (hotmail and iCloud). The problem is that the badge next to the icloud inbox is absent (although any Unread emails still are added up properly when shown in the dock count).

     

    I've tried the (~/library/mail/mail data etc..) twice. I have also painfully waited hours to rebuild my mailboxes twice and i have deleted and then re-added the icloud acount multiple times. I'm also aware of the "Dock Unread Count' function in the Mail Preferances pane.

     

    Any other suggestions?

1 2 3 Previous Next

Actions

More Like This

  • Retrieving data ...

Bookmarked By (1)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.