Mail: no entry for mailbox id 2 in the cache; this should never happen

My system log is full of thousands of errors from Mail:
3/20/15 5:26:50.009 PM Mail[7303]: no entry for mailbox id 2 in the cache; this should never happen
It appears to generate a few hundred of these entries every time I launch Mail, check for new mail, or click on any of my mailboxes in Mail. There's a noticeable power drain and hit to responsiveness when this occurs.
What I've tried so far:
Restarting Mail
Mailbox > Rebuild
Editing Accounts.plist to remove the mailbox with id 2
Deleting cache.db
Deleting all accounts from Mail and recreating one at a time
Deleting com.apple.mail from Containers
I have no third-party add-ons installed. My mail accounts are IMAP (Gmail and a personal domain account). I'm on a 13" MBP Retina, Yosemite 10.10.2, Mail version 8.2 (2070.6).
Does anyone have an idea as to what's causing this error spam?

Is Mail working properly? If so, ignore the Console messages.

Similar Messages

  • No entry for mailbox id X in the cache; this should never happen

    I'm getting a lot of this in my logs... Any ideas how to fix it?
    Feb 2 12:48:05 ssh-4 Mail[282]: no entry for mailbox id 36 in the cache; this should never happen
    Feb 2 12:48:05: --- last message repeated 9 times ---
    Feb 2 12:48:05 ssh-4 Mail[282]: no entry for mailbox id 51 in the cache; this should never happen
    Feb 2 12:48:05: --- last message repeated 1 time ---
    Feb 2 12:48:05 ssh-4 Mail[282]: no entry for mailbox id 28 in the cache; this should never happen
    Feb 2 12:48:05: --- last message repeated 7 times ---
    Feb 2 12:48:05 ssh-4 Mail[282]: no entry for mailbox id 22 in the cache; this should never happen
    Feb 2 12:48:05: --- last message repeated 2 times ---
    Feb 2 12:48:05 ssh-4 Mail[282]: no entry for mailbox id 28 in the cache; this should never happen
    Feb 2 12:48:06: --- last message repeated 50 times ---
    Feb 2 12:48:06 ssh-4 Mail[282]: no entry for mailbox id 52 in the cache; this should never happen
    Feb 2 12:48:06: --- last message repeated 1 time ---
    Feb 2 12:48:06 ssh-4 Mail[282]: no entry for mailbox id 33 in the cache; this should never happen
    Feb 2 12:48:06: --- last message repeated 1 time ---
    Feb 2 12:48:06 ssh-4 Mail[282]: no entry for mailbox id 40 in the cache; this should never happen
    Feb 2 12:48:06: --- last message repeated 3 times ---
    Feb 2 12:48:06 ssh-4 Mail[282]: no entry for mailbox id 46 in the cache; this should never happen
    Feb 2 12:48:06: --- last message repeated 5 times ---
    Feb 2 12:48:06 ssh-4 Mail[282]: no entry for mailbox id 33 in the cache; this should never happen
    Feb 2 12:48:06: --- last message repeated 2 times ---
    Feb 2 12:48:06 ssh-4 Mail[282]: no entry for mailbox id 28 in the cache; this should never happen
    Feb 2 12:48:06: --- last message repeated 2 times ---
    Feb 2 12:48:06 ssh-4 Mail[282]: no entry for mailbox id 33 in the cache; this should never happen
    Feb 2 12:48:06: --- last message repeated 2 times ---
    Feb 2 12:48:06 ssh-4 Mail[282]: no entry for mailbox id 28 in the cache; this should never happen
    Feb 2 12:48:06: --- last message repeated 6 times ---
    Feb 2 12:48:06 ssh-4 Mail[282]: no entry for mailbox id 33 in the cache; this should never happen
    Feb 2 12:48:07: --- last message repeated 3 times ---
    Feb 2 12:48:07 ssh-4 Mail[282]: no entry for mailbox id 28 in the cache; this should never happen
    Feb 2 12:48:07: --- last message repeated 2 times ---
    Feb 2 12:48:07 ssh-4 Mail[282]: no entry for mailbox id 47 in the cache; this should never happen
    Feb 2 12:48:12: --- last message repeated 2 times ---
    Feb 2 12:48:12 ssh-4 Mail[282]: no entry for mailbox id 26 in the cache; this should never happen
    Feb 2 12:48:15: --- last message repeated 5 times ---
    Feb 2 12:48:15 ssh-4 Mail[282]: no entry for mailbox id 32 in the cache; this should never happen
    Feb 2 12:48:15 ssh-4 Mail[282]: no entry for mailbox id 33 in the cache; this should never happen
    Feb 2 12:48:15 ssh-4 Mail[282]: no entry for mailbox id 32 in the cache; this should never happen
    Feb 2 12:48:15 ssh-4 Mail[282]: no entry for mailbox id 33 in the cache; this should never happen
    Feb 2 12:48:15 ssh-4 Mail[282]: no entry for mailbox id 32 in the cache; this should never happen
    Feb 2 12:48:16 ssh-4 Mail[282]: no entry for mailbox id 28 in the cache; this should never happen
    Feb 2 12:48:46: --- last message repeated 2 times ---

    I have determined exactly what this is.
    In the folder:
    /Library/Mail/AccountTypes/com.apple.builtin.mailaccounts/
    There is a list of different mail account types in a file called "MailAccounts.plist". When the Console gives you an error message, it will specifically state ..."mailbox id ## in the cache", which corresponds to an entry in this file.
    This plist file must be modified. I have not tried flat out deleting the file, but if you can get the developer tools, you can easily delete the offending entries.
    To delete the bad entries:
    NOTE: If you have to delete multiple entries, delete the ones with the largest index (i.e. "id 999999") FIRST.
    1. Open MailAccounts.plist in the Property List Editor
    2. Under the root triangle, click the "Multiple" triangle (this shows you the actual entries)
    3. Starting with the highest mailbox number, delete each entry "Item #" by highlighting the node and pressing the "Delete Item" button on the toolbar.
    4. Repeat until all your console errors are accounted for.
    5. Save the file: File >> Save
    You can exit the Property List Editor. Open Mail and wait a few seconds, then check the console for error messages. If there are no more error messages, you're set! Otherwise go back and try deleting the offending item(s) again.
    Time Machine is your friend if you don't get it right the first time.
    HTH

  • No entry for mailbox id ... in the cache; this should never happen

    I'm seeing this in my Console Log. Multiple entries for specific ids (see below). Should I be concerned? (I am not really concerned about the "this should never happen," having been a programmer and supervised programmers.)
    I've got the latest system patches. I have AttachmentsScannerPlugin.mailbundle, Imap-idle-plugin.mailbundle, MailActoOn.mailbundle, and MailFollowup.mailbundle.
    Thanks!
    Fred
    From the log:
    2006-10-03 10:20:58.308 Mail[6088] no entry for mailbox id 137 in the cache; this should never happen
    2006-10-03 10:20:58.324 Mail[6088] no entry for mailbox id 153 in the cache; this should never happen
    2006-10-03 10:20:58.326 Mail[6088] no entry for mailbox id 153 in the cache; this should never happen
    2006-10-03 10:20:58.328 Mail[6088] no entry for mailbox id 153 in the cache; this should never happen
    2006-10-03 10:20:58.329 Mail[6088] no entry for mailbox id 137 in the cache; this should never happen
    2006-10-03 10:20:58.331 Mail[6088] no entry for mailbox id 137 in the cache; this should never happen
    2006-10-03 10:20:58.333 Mail[6088] no entry for mailbox id 137 in the cache; this should never happen
    2006-10-03 10:20:58.370 Mail[6088] no entry for mailbox id 185 in the cache; this should never happen
    2006-10-03 10:20:58.373 Mail[6088] no entry for mailbox id 185 in the cache; this should never happen
    2006-10-03 10:20:58.376 Mail[6088] no entry for mailbox id 185 in the cache; this should never happen
    2006-10-03 10:20:58.379 Mail[6088] no entry for mailbox id 185 in the cache; this should never happen
    2006-10-03 10:20:58.388 Mail[6088] no entry for mailbox id 139 in the cache; this should never happen
    2006-10-03 10:20:58.391 Mail[6088] no entry for mailbox id 157 in the cache; this should never happen
    2006-10-03 10:20:58.623 Mail[6088] no entry for mailbox id 175 in the cache; this should never happen
    ...

    The following procedure would probably solve the problem if the plugins were properly uninstalled first. I don't know whether it'll work in the current situation:
    1. Quit Mail.
    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.
    3. Locate Envelope Index and move it to the Trash. If you see an Envelope Index-journal file there, delete it as well.
    4. Move any "IMAP-", "Mac-", or "Exchange-" account folders to the Trash. Note that you can do this with IMAP-type accounts because they store mail on the server and Mail can easily re-create them. DON'T trash any "POP-" account folders, as that would cause all mail stored there to be lost.
    5. 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, i.e. ~/Library is the Library folder within the user's home folder.

  • Why am I being asked for my billing info for updating free apps? This has never happened before! Now I can't update anything. Is there anyway around this?

    I am being asked to provide my billing info for updating free apps... This has never happened before. I don't have a credit card so is there anyway around this??

    The only way is to create an Apple ID without a credit card. The one you currently created will not work, it has to be a new one, and use this support document to do it. http://support.apple.com/kb/ht2534 Make sure you follow the directions exactly.

  • How do I clear out multiple entries for a persons name in the Faces selection?

    Can I get some help clearing up multiple entries in the "Click to Name" dialog box in iPhone 9.6?
    Here's the behavior I'm seeing:
    When I try to assign a name to a Face by clicking the "Click to Name" option, I start typing in my son's name and iPhone is showing me 15 entries for his name.
    Of the 15 options, only 1 of them shows a mini-thumbnail photo of him, and a different one suggests that it's from the Contacts app, but the rest of them are blank.
    This behavior is not happening for any of the other Faces in the library.
    In terms of troubleshooting, I've opened Apple Contacts and ensured there is only 1 contact record for him (there are 2 email address listed). I've selected Library > Faces > And I see one polaroid image in the list for my son. In the past if there were multiple listings here I've seen similar results. I'm not sure what else to try.
    What causes these to be duplicated?

    I spoke with Apple Support today and they provided a workaround:
    I had 7 entries for a person.
    Find untagged photo with person in it. Select Entry 1
    Find untagged photo with person in it. Select Entry 2
    Repeat until you have at least 1 photo tagged with each of the 7 entries
    Now go back to Faces and you'll see 7 polaroids listed.
    Select each of them and merge them.
    Problem solved.

  • I cannot upload attachments to e-mails. When I click on browse in the attachment pop up nothing happens

    I cannot upload attachments to e-mails. When I click on browse in the attachment pop up nothing happens, I cant even type in a document address in the file location box
    == This happened ==
    Every time Firefox opened
    == I downloaded the latest version of firefox

    Again, where are you seeing the date?
    Select one of the imported photos, type Command + i and check in the iPhoto Info drawer to see what the EXIF capture date is for those photos. 
    If the date is correct then you're looking at the file created or modified date and not the EXIF capture date that's embedded in the image file itself.
    OT

  • HT204053 Apple offered to install iCloud, and I allowed it. Yet when I try to sign in to iCloud using my Apple ID email and pswrd--an ID that I've been using for YEARS--I'm given the message, "This Apple ID is valid but is not an iCloud account." What is

    To repeat my question, Apple offered to install iCloud, and I allowed it. Yet when I try to sign in to iCloud using my Apple ID email and pswrd--an ID that I've been using for YEARS--I'm given the message, "This Apple ID is valid but is not an iCloud account." What is going on?
    Everywhere I search on Apple's Support site says to sign in to iCloud using your "Apple ID," which I did. I've had my iTunes account for years (even migrated from the old AOL account system). It's the standard email+password that everyone is supposed to use.
    My main question is how can I have a valid Apple ID and not an iCloud account--if the two are supposed to be linked?
    Thank you for any help you can give me!
    tlj

    I've tried both. First, I tried on my pc, where iTunes had installed iCloud when it last updated. I have iTunes installed on this computer (and on my iPad and iPhone), but that wasn't the issue.
    So I went online, thinking I needed a separate iCloud Apple ID, but it prompted me for my current Apple ID and gave me the message about my ID being "valid" but not an iCloud account," which, lol, was what it had asked me to do in order to create one. I checked, and at least one other user is having the same issue. I'll attempt to copy/paste the Support request url: https://discussions.apple.com/thread/4430653?tstart=0
    Thank you for any help you can give.
    Trish

  • TS1702 i have an issues everytime i put my apple id and password to face time and imessage he said verifying and he goes back to where u should put ur password and wont check mark the mail and i create a new apple id the same what should i do ?

    i have an issues everytime i put my apple id and password to face time and imessage he said verifying and he goes back to where u should put ur password and wont check mark the mail and i create a new apple id the same what should i do ?

    i have an issues everytime i put my apple id and password to face time and imessage he said verifying and he goes back to where u should put ur password and wont check mark the mail and i create a new apple id the same what should i do ?

  • I cannot open my photoshop, its asking for a serial number. I do have one but it will not accept it. I've had this program for 5 years and this has never happened before.

    I cannot open my photoshop. Its asking me for a serial number, which I already have. However, it will not accept my serial number. I've had this program for 5 years and this has never happened.

    If your Creative Suite version is #3 through 6, you might try running the CS Cleaner Tools in preparation for a re-install.
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    If you have a legacy version, it may be that the activation servers for your product are no longer available.
    Nancy O.

  • I keep getting this message and PSCC will not open:Unable to start your subscription for Adobe Photoshop CC.  I keep trying again with no results.  I am on automatic pay system.  This should not happen.

    I keep getting this message and PSCC will not open:Unable to start your subscription for Adobe Photoshop CC.  I keep trying again with no results.  I am on automatic pay system.  This should not happen.
    I had it open a few minutes ago.  Closed it and went to reopen to no avail. How can I open and continue to work?

    Does your Cloud subscription properly show on your account page?
    If you have more than one email, are you sure you are using the correct Adobe ID?
    https://www.adobe.com/account.html for subscriptions on your Adobe page
    If yes
    Some general information for a Cloud subscription
    Cloud programs do not use serial numbers... you log in to your paid Cloud account to download & install & activate... you MAY need to log out of the Cloud and restart your computer and log back in to the Cloud for things to work
    Log out of your Cloud account... Restart your computer... Log in to your paid Cloud account
    -Sign in help http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html
    -http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html
    -http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
    -http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html
    -ID help https://helpx.adobe.com/contact.html?step=ZNA_id-signing_stillNeedHelp
    If no
    This is an open forum, not Adobe support... you need Adobe staff to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

  • While trying to purchase a gift card to send via email, got a message this apple ID not eligible for purchase.  I've purchased many times before and this has never happened.  Does anyone know why?

    While trying to purchase a gift card to send via email, got a message this apple ID not eligible for purchase.  I've purchased many times before and this has never happened.  Does anyone know why?

    Re: ITunes will not let me send a gift certificate...Error message says: This Apple ID is not currently eligible to purchase gift certificates. I have a valid Apple ID so please tell me why this is happening if you know.
    iTunes Customer Service Contact - http://www.apple.com/support/itunes/contact.html
    Are you still using OSX 10.4.11? I thought the Store didn't work with Tiger.

  • TS2446 my itunes account is locked after i tried to log in. for some reason (this has never happened before) it asked to type in some security question answers such as what is my favorite car and job. and when i answered it, it suddenly locked my account.

    my itunes account is locked after i tried to log in. for some reason (this has never happened before) it asked to type in some security question answers such as what is my favorite car and job. and when i answered it, it asked me the question again and when I answered, it locked my account.

    Sorry for  the typos, I hope my message still gets across!

  • HT201303 When I want to download it ask me for my password than it goes right to a security screen asking me to answer three questions.  This has never happened to me before.  What do I do?

    When I want to download it ask me for my password than it goes right to a security screen asking me answer three questions I never set up.  This has never happened to me before.  What do I do?

    If it's a free app it won't charge you.   Perhaps the billing info you have on file is outdated/incorrect and iTunes needs to verify it before allowing you to download anything first.
    This is quite common actually.

  • I have owned my MacBook Pro for several months.  Initially, I did not have any problems.  Now I have a problem with Yahoo Mail.  I can open my account, but when I try to get at my mail, 2 out of 3 times I get the spinning ball that never stops.  Now what?

    I have owned my MacBook Pro for several months without having any problems with it. Recently I am having trouble with my Yahoo Mail.  I can open it fine, but 2 out of 3 times when I try to actually open a message, the spinning ball comes on the screen and does not stop. Sometimes, I can log out or force quit and come back in to my account and use it.  Other times, I run into the same problem.  Any suggestions?

    Killerfinch wrote:
    My new yahoo account nestles comfortably in iCloud on the mine iPad.
    No, your Yahoo account is not in iCloud (which only handles iCloud mail), it is in Yahoo, and the Yahoo mail account is on your iPad.
    But the MacBook Pro will have none of it! I write this question now as I fear that I will be totally demented very soon and unable to formulate my thoughts clearly!
    Get the correct settings for your account from Yahoo and set it up manually.
    By the way, I also find the "password" issue problematical. It seems Apple want my Apple password rather than my eMail password. All very confusing.
    That would depend on what you are trying to do.

  • I have a CC on file for gaming only, and wen I have no money on it I can never download a free app! An this should not happen! It's free apps!???

    I have a IPad, and a IPhone, I loaded a CC just for gaming, and every time ik don't have money on the card, I cannot download free apps, an this should not be happening because it is a free App..!!!??? What is going on!!??? I want to download an app but nvr can be cuz of the stupid CC I added??!!! Answer plzzzzzzz ....!

    Just to add, you will have to download and unzip it then put it in iTunes if it is a video or audio format iTunes can handle.

Maybe you are looking for