Mail reports huge message count in window bar

So I run my own mail server for my stuff via S/IMAP (IMAP over SSL) using Dovecot IMAP server on Linux.
At random intervals, Mail.app starts erroneously reporting HUGE numbers of messages in the window bar; right now it says "Inbox - Coldstripe (4294967239 messages)" ... and also a separate S/IMAP account running on Exchange Server does the same thing periodically. I assure you I don't have but 50 messages in the Inbox, and it's not a unpurged message problem, I have it setup to delete instantly. This is confirmed by looking in my Inbox maildir directly on the server.
If I do Mailbox->Rebuild, it fixes the problem, only to have it come back later. This does not happen with other mail clients such as Thunderbird.
Any suggestions? Thanks!
Rob K

Have you deleted the Mail accounts and started from scratch bringing it back in? If you're all IMAP, it should preserve everything.
Check out your permissions to be sure nothing got messed up with that on Disk Utility and see what happens.

Similar Messages

  • 10.5 Mail: Hide unread message counts of folders? (or, how backup all mail)

    Ok, this is a very confusing topic. I have connected Apple Care, and they understand what I'm trying to do, but say there is "no way" that it can be done. But I know there is a way so hopefully someone can help.
    First, this is what I'm asking for...then I'll explain why. I am looking for a way to "hide" the unread mail counts of a SPECIFIC FOLDER. (not the in box, not all messages, ONLY messages in ONE folder.)
    Here is why.... I finally got my mother using email with her Verizon DSL address in Mail.app. The problem is, she is one of those people that "deletes" just about every message she gets because she "doesn't need it anymore" But, there has been many times where she has deleted something that down the road might be needed - and therefore, it is lost. Sure, Time Machine is set up and could recover it, and there are other ways of getting things back, but is just too difficult, and those methods don't last forever.
    So here is what I did to solve this and make it easy - I set up a RULE in mail.app that takes every message and COPIES it to a folder called "BACKUP." Now, she can delete things from her in box when she is done with them (which will make her happy) but down the road if the message is ever needed again, it is just a search or even a SPOTLIGHT search away! Or, you could just open the "backup" folder and see an index of ALL the messages. So I had this setup for a while and it was great....but there was one problem.... The folder "backup" would count un-read messages. So after a while, she would go to check her mail and see that she has 50 unread messages! (only 1 of which was really un-read in her in box, but the other 49 where old copies in the backup folder.) So I then edited the rule and found an action to mark the message as read. Time goes by and then I realize that NOTHING in being marked read. So even real unread messages in the in box would immediately be marked as read and would not come up as bolded or with the blue dot. So that became annoying as it was hard to see what was new and what wasn't. So then I came up with this idea of setting a rule that all of her Verizon email would be forwarded to another account (I set up a gmail account for her) so that all I messages would be forwarded there. Then, I setup gmail to forwarded them back thinking it would be easy to setup a rule that says any message coming from "gmail account" would be moved to folder and marked as read. I then get a panic phone call saying..."my inbox keeps getting hundreds of unread messages...there all the same thing! I then log in to see that one new message was being pushed back and forth between Mail.app and gmail in an endless loop! so I had to shut the forwarding to stop that!
    So as you can see....this is very difficult, but yet the problem is so simple and should have an easy fix. All I want is a way to backup all incoming messages, and keep them stored in a folder that marks them as read.
    Could anyone PLEASE help me out with this? _Apple says there is no way to do this because of the limitations in the Rules that mail.app provides_....but it does give me the option to run an Apple Script. _AppleCare said that it could easily be done via an Apple Script_, but I have NO CLUE on how to even start that! Even the easy tutorials I tried left me confused.
    So - ANY ideas????
    Thank you SO much in advance for anyone that could help out!
    -Scott

    Sorry I am marking this solved, but it never was.
    The best thing that could be done is to rely on Time Machine, or forward all of your incoming email to another address.
    Apparently, there is no way to do what I asked. But there should be. So Apple, please fix this.
    Again, sorry I am marking it as solved.

  • Mail: wrong unread messages count – fix instead of workaround?

    hello. Although I welcome the idea to set up an unread mails smart folder in addressing this issue (http://discussions.apple.com/thread.jspa?messageID=5857003&#5857003, http://discussions.apple.com/thread.jspa?messageID=5657501&#5657501 etc.), I'd consider this a workaround rather than a fix. The real problem seems to be that mail no longer displays the unread messages in the inbox, account box, mailbox … as it should. Is there an actual fix to that? Like setting back some cache file or something (hope apple will have that solved in the next update)?
    best
    n.

    Wow. That was swift. Hello Pascal.
    and you have indeed chosen the "inbox" option for dock unread count in mail>preferences>general?
    yes. Then it disappears, and reappears as I set it back to all mailboxes—but this should work with all mailboxes, shouldnt't it?
    and you have created a smart mailbox to hunt down unread emails and mark them as read?
    yes, of course. That's a good workaround. But it's a workaround, not a fix. There were unread mails in one of the mailboxes, and they should have been indicated as such, as they indeed usually are. But sometimes aren't.
    if you have done both of these i would suggest a couple of things:
    1) quit mail, reboot, launch mail again, see if that solves the issue, if not then,
    done that
    2) get rid of the current icon on the dock, go to the applications folder, select mail.app and drag a fresh icon to the dock, see if that solves the issue, if not then
    It doesn't. It's not just the dock, it's also the application switcher (the one you get holding cmd-tab)
    3) make sure you have back ups of your mailboxes in you have pop accounts especially, then quit mail and trash the com.apple.mail.plist file in homefolder/library/preferences - do note that once you do that you will have to create your email accounts in mail - then launch mail again and recreate your email account(s)
    I may do that if it reoccurs too often.
    thanks
    n

  • BUG REPORT: MfE Message Counter

    My Mail for Exchange shows wrong number of unread work messages on the Standby screen. First it was showing a number that was six higher than the actual numer of unread messages, now the error is +9. With my private Gmail account I have no problem like this.
    Nokia Support advised to remove the MS Exchange account and redifine it, but that's not quite practical fix, unless this is only my problem.
    Have you  experienced this issue?

    Hello,
    Will check if it's still there it will get fixed.
    Thanks for finding that.
    Carl

  • In full screen mail, message count vanishes

    I'm not sure if this is a Mavericks issue, or has always been an issue. When I use mail with the message viewer as a regular window, the count of messages in the mailbox I'm looking at shows in the window bar. But when I switch to full screen, the count vanishes. Am I missing something?

    You're not missing something. When an app is made Full Screen, its title bar is removed. This is true for all apps; though most don't suffer from the loss of a feature the way Mail does.
    If you want to see how many messages are in the currently-selected mailbox without leaving Full Screen, move your cursor to the top of the screen to reveal the Menu Bar, click on the "Window" menu and the very last item displayed in the dropdown will be the window title, which includes the message count in parenthesis. Alternatively, you can right-click (two-finger click if on a trackpad) on Mail's icon in the Dock, and it will show you the window name with the message count in parenthesis. Both options are less convenient than glancing at the menu bar, but at least you can remain in Full Screen.

  • Message count in Mail doesn't agree with emlx count in Finder

    I was checking a recent backup and I noticed the number of .emlx messages in:
    ~/Library/Mail/[email protected]/INBOX.mbox/Messages
    did not agree with the message count Mail (Version 2.1.1 (752.3)) gave in the title bar for the Inbox of that account. In fact, the number of files in:
    ~/Library/Mail/[email protected]/INBOX.mbox/Messages
    was almost 1000 and the count given in Mail was about 175. Of course, this is not good. My immediate reaction was to rebuild that mailbox. I did so and now the numbers agreed, but there were 100 messages in that Inbox that were not there before (messages going back several months that had been filed away or deleted long ago). In addition, a number of messages that were read before, were now marked as unread.
    Being rather worried about this (I heavily depend on Mail), I proceeded to check several other mailboxes and found that many of them had .emlx Finder numbers that did not agree with the count shown in Mail. Should all these mailboxes be rebuilt?
    Finally, for several of my mailboxes, when I rebuild them, huge numbers of messages that were read before are then marked as unread. If I mark those messages as read and rebuild the mailbox, the same thing happens again -- they are unread. This doesn't sound normal either.
    Can anyone give me some insight as to what is going on here with Mail and how to fix these issues?
    Thank you.
    2.16 GHz MacBook Pro   Mac OS X (10.4.9)   2GB RAM, 7200 RPM HD

    All I can tell you is that, rather than rebuilding each and every mailbox, you’d better re-create the entire index. That won’t fix the read/unread issue, though. Apparently, Mail sometimes fails to permanently store the read/unread status in the *.emlx file itself, and hence, that information is lost every time the mailbox is rebuilt or the index is re-created — don’t ask me why.
    Verify/repair the startup disk (not just permissions) first, as described here:
    The Repair functions of Disk Utility: what's it all about?
    After having fixed all the filesystem issues, if any, and ensuring that there’s enough space available on the startup disk (a few GB, plus the space needed to make a backup copy of the Mail folder), try this:
    1. Quit Mail if it’s running.
    2. In the Finder, go to ~/Library/Mail/. Make a backup copy of this folder, just in case something goes wrong, e.g. by dragging it to the Desktop while holding the Option (Alt) key down. This is where all your mail is locally stored.
    3. Locate Envelope Index and move it to the Trash. If you see any other “Envelope Index”-named file there, delete it as well.
    4. Open Mail. It will tell you that your mail needs to be “imported”. Click Continue and Mail will proceed to re-create Envelope Index — Mail says it’s “importing”, but it just re-creates the index if the mailboxes are already in Mail 2.x format.
    Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder. That is, ~/Library is the Library folder within the user’s home folder, i.e. /Users/username/Library.

  • How could I re-open my mail box with error message :The last time you opened Mail, it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again?

    How could I re-open my mail box, as an error message blocked "The last time you opened Mail, it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again?" Even I entered re-open, the airbook does not response but prompt the same error message again.

    Please follow these directions to delete the Mail "sandbox" folders. In OS X 10.9 there are two sandboxes, while in 10.8 there is only one. If you're running a version older than 10.8, this comment isn't applicable.
    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Containers/com.apple.mail
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal
    from the contextual menu.* A Finder window should open with a folder named "com.apple.mail" selected. If it does, move the selected folder — not just its contents — to the Desktop. Leave the Finder window open for now.
    Log out and log back in. Launch Mail and test. If the problem is resolved, you may have to recreate some of your Mail settings. You can then delete the folder you moved and close the Finder window. If you still have the problem, quit Mail again and put the folder back where it was, overwriting the one that may have been created in its place. Repeat with this line:
    ~/Library/Containers/com.apple.MailServiceAgent
    Caution: If you change any of the contents of the sandbox, but leave the folder itself in place, Mail may crash or not launch at all. Deleting the whole sandbox will cause it to be rebuilt automatically.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

  • Message counter in a mail folder ?

    Hi there,
    How do i know how many messages a mail folder contain ?
    TIA

    The message count is located at the very top of the "Message Viewer" window. It displays the folder/mailbox name then the location (i.e., "On My Mac") and the number of messages in parentheses. However, the message count does not include the number of messages within any sub-folders the parent folder may contain.
    If there is a way of showing the full count of messages which include those within sub-folders, I do not know of it.

  • Yahoo! Mail in Mail App on iPad 2 iOS 7.0.3 Shows Unread Message Count

    Yahoo! Mail in Mail App on iPad 2 iOS 7.0.3 shows unread message count when the Inbox is empty.  This has been an ongoing issue since iOS 7 rolled out.  I was hoping with this latest update that this problem would be fixed.  Just wanted to report it.  If someone knows where bugs get reported, I'd appreciate the link.
    None of my other mail programs have this problem.
    I perform a reset (holding down the Home button and the Power button) and sometimes this clears it out and sometimes not.  Plus, I don't want to reset my iPad on a constant basis just to clear my mail count.
    Any insight or additional information is appreciated.

    I think it's an issue with yahoo. I have the same basic set up as you and will open my mail, see that I have 4 unread for example, read them, exit mail and have the red bubble still reading 4 unread mail. Usually it catches up and corrects in a little bit.
    Probably jus a glitch between yahoo and the mail app and not much you can do as a user but wait it out or get used to it...or I understand that there's a yahoo app if it really bugs you.

  • 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!

    There is a small glitch, and you guys are close.
    In Mail Preferences under General, there is the option for:
    Dock Unread Count --
    Your choices in the dropdown are either:
    None
    Inbox Only
    All Boxes
    The problem is that I've often seen the Inbox Only is checkmarked, and stays as checkmarked, even when you last told it to use either None or All Boxes.
    It is possible that Alconic see's Inboxes Only checkmarked, when in fact it's All mailboxes that are set to be showing.
    Try to re-check "Inbox only" even though it's already checked and see what happens...

  • Mail won't display the viewer window, and it will not close (force quit does not show in menu bar).  Can't shut down to reboot because the open mail program prevents it.   Any advice?

    Mail does not show the viewer window even when new viewer window is cliced.  I tried to close mail and reopen, but it will not close, and force quit option does not appear in window bar.   I tried to shut down the computer and reboot, but it cannot close because of open mail program it says.    Help!

    Many thanks.  Once I was able to close mail, it reopened and behaved quite normally.  Thank you.  I'll remember the option quit for force quite!

  • Mail: Clicking a message in Inbox should open it in a separate window (not just  in lower pane). This stopped working after an automatic update of OS(10.6.8). Suggestions?

    Before updating software (10.6.8), in Mail, clicking a message in the inbox caused the message to appear in its own separate window-- not just in the pane below the inbox. I'm not sure why this function is no longer available. I guess I could delete Preferences (where?) and see if that does it. Any ideas?
    Thanks,
    Nick

    Before updating software (10.6.8), in Mail, clicking a message in the inbox caused the message to appear in its own separate window-- not just in the pane below the inbox.
    Uh…no it didn't. Double-clicking a message would open it in a new window. Regardless of whether you have the message pane visible, you still have to double-click the message if you want it to open in it's own message window.
    I guess I could delete Preferences (where?) and see if that does it.
    No, you can't do that; not unless you want to say bye-bye to all your email. Don't even think about messing around with things unless you know what you're doing, and the consequences.

  • I have a spinning wheel in Mail - stuck on trying to load a new message. I've force quit both Mail and my whole computer, but when I open mail again, it brings up the same new message - and the side bar curser is stuck in Drafts. What can I try to cancel

    I have a spinning wheel in Mail - stuck on trying to load a new message. I've force quit both Mail and my whole computer, but when I open mail again, it brings up the same new message - and the side bar curser is stuck in Drafts. What else can I try to cancel

    Can you log on to the email account via webmail in a web browser, view the email and delete it from there if necessary.

  • Unread message count not updating in Mail.app

    I am running a MBP 15" with 10.4.10 and Mail.app (version 2.1.1 build 752.3) and as you can see in this screengrab here:
    the unread message count is not correctly updating.
    This may actually be something for the Mail dev' team to handle, unless some one else out there in the groups has some inside knowledge about this issue.
    For that matter, I do not know how to forward this to the Mail dev' team inside Apple, so if any one else does, please do.
    Cheers.
    Jason
    MBP 15; 2.16 ghz; 2gb RAM; 100gb;   Mac OS X (10.4.10)   Palm Treo 680 + Cisco 1242 WAP + xo.net + Hyatt Embarcadero room service

    Jason,
    What screengrab?
    What type of account do you have -- POP, IMAP or .mac? How many accounts do you have? Do you access your account from more than one computer?
    Unread message count where -- on the Mail Icon in the Dock or in individual mailboxes? In the Dock, the Unread message count will NOT reflect any messages moved to custom mailboxes by Rules, but only those in the Inboxes.
    Ernie

  • Disabling certain mail accounts from "new message count" in Mail dock icon

    Hi,
    I'd like to disable two of my mail accounts from affecting the new message count that appears over mail's dock icon. How might I do this?
    Thanks in advace

    the only option you have is to choose between all mailboxes and inbox, in mail>preferences>general
    other than that, you may want to look at plugins such as dockstar to do more customization of the notification features: http://www.ecamm.com/mac/dockstar/
    hope this helps

Maybe you are looking for