You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Smart mailboxes are empty in Mavericks mail

I have several smart mailboxes, and with the upgrade to Mavericks, they're all empty, including the VIP mailboxes.


Is anyone else having this problem? Is there a fix? Does Apple know about it?


Thanks!

Doc

OS X Mavericks (10.9)

Posted on Oct 23, 2013 2:23 AM

Reply
59 replies

Dec 21, 2013 3:22 PM in response to Robert Wünsch

Whenever I select the two smart mailboxes that are not working, which are the two with the most complicated rules, this type of error is thrown in Console.app. Good catch. I wish I knew what to do about it.


I don't think there's anything to be gained by rebuilding Spotlight if some of your mailboxes work and the big ones don't. It's a bug, and no amount of indexing is going to make those queries work.

Jan 3, 2014 10:00 AM in response to Doc411

Doc,


I have had the same problem for a while too and it was solved by Adam Blainey's reply. I have tried most of the sugestions posted and this is the only thing that has sucsessfully fixed both the smart mailbox issue and the flagged message count.


OnyX can be downloaded here from macupdate.com.


Go to the "Maintinence" tab and selcet the "Rebuild" page. Uncheck all of the boxes except "Spotlight index" and click "Execute".


As soon as OnyX has finished Spotlight will start indexing again. Make sure you don't have any exclusions in the Spolight settings that could prevent acess to mail folders and make sure "Mail & Messages" is ticked on the "Search Results" page.


If this fixes your problem it would be helpful for other users is you mark this or Adam's answer as Solved or Helpful.

Jan 5, 2014 2:27 PM in response to Doc411

I have reindexed my spotlight along with other suggestions and nothing has resolved the problem I am having with smart mailboxes.


I booked an appointment with the Genius bar at my local Apple store and they were mystified by the issue. Nothing they tried had any effect. They supposedly reported it up the chain to Apple corporate.


No updates to Mail or OS X have resolved the issue.

Jan 6, 2014 5:18 AM in response to hopeisnotastrategy

Hope,


I have found re-indexing as per the kb article linked below rarely works. You need to use OnyX to actually delete the current spotlight index.


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


MstrE is allso correct that there are uther issues with smart folders relating to massivley long qureys, although i have found that anything below 5 linse is usually ok.


The OnyX fix is mainly for the unread counts being incorrect in smart mailboxes and the flagged folder.

Apr 21, 2014 11:22 AM in response to Robert Wünsch

I have been having problems with a couple of Smart Mailboxes not showing all the messages it should - for example one of them is looking at 4 different folders - 2 "On My Mac" and 2 IMAP mailboxes on AOL.com to see if "Message is in Mailbox" and should list the contents of those 4 messages in a single Smart Mailbox.


It gets messages from 3 of those boxes, but not the 4th - an IMAP mailbox from AOL.com. I know the messages are there since I see them when looking at the IMAP mailbox both through Mail, and through Safari.


The other is a trial Smart Mailbox I made that is looking at just the single IMAP mailbox to get the messages in it - this shows no contents at all.


I came across this thread while searching for anwers, and in particular your reply about the length of messages in Console concerning the length of the query string.


For me that error message is 355,797 characters and contains 2,344 occurrences of "!=", so well past your limit of 1,204. The messages in Console seem to be about excluding mailboxes that are in Trash


At the moment SpotLight is rebuilding after I used Onyx to delete the SpotLight Index - I don't know if this will also cure another odd situation I've had for a while - whenever I restart my Mac Pro, SpotLight gets rebuilt which as far as I know is new since I installed Mavericks a few weeks ago.


Roger

Smart mailboxes are empty in Mavericks mail

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