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

Smart Mail box not working Yosemite

Once again I am faced with a problem that has been plaguing me for 2 OS's now.

My Mail Smart Mailbox for Unread doesn't work.


I get mail in the other mailboxes, but it doesn't divert them to the Unread for quick collation of new mail.

Also, there is no badge indicator on the Mail App in the dock of unread emails.


Am I missing something, is there a fix?


Help!!

iMac, OS X Mavericks (10.9), Magic Mouse, Wireless keyboard

Posted on Oct 17, 2014 9:13 AM

Reply
Question marked as Best reply

Posted on Dec 24, 2017 6:39 AM

I am assuming this will have the same resolution as my High Sierra issue.

Simply look up MDS in activity viewer and force quit.

Restart Mail, the Smart Nailbox works properly again.

40 replies

Oct 20, 2014 8:16 AM in response to photocastle

OK,


I have a solution which fixed everything. Related to Spotlight operations...


Apparently, Mail.app is using Spotlight for indexing (since Mavericks) and if Spotlight is not running on your drive with Mail data, no smart folders stuff (and other issues)...

I checked using MacPilot and Spotlight was not running on my main drive. I tried adding and removing the drive from Privacy window in Spotlight preferences, nothing. Even MacPilot was unable to re-enable the Spotlight there. Hm, weird. So I went the command line route and found:

http://apple.stackexchange.com/questions/24401/spotlight-reports-indexing-and-se arching-disabled-in-lion

Turns out, somehow during installation and migration of my user data onto the drive, this happended:


... I reexamined the directory listing for

/
and found a hidden file
.metadata_never_index
in the root directory. I removed this file and was able to turn spotlight on again with
mdutil -i
on
/
.

As said, I removed the .metadata_never_index - you need to be root for that and even use sudo:

bash-3.2$ cd ./

bash-3.2$ sudo rm .metadata_never_index

And my Smart folders are miraculously up and running... And Spotlight is actually more useful now also :-)

Oct 25, 2014 10:37 AM in response to Old Toad

Just restarted using Command +R and then opened with Disk Utility. Clicked on Repair Permissions and after completion restarted. Smart Mailboxes and Spotlight now working as normal.


Thanks again. BTW I don't see where to click on "This Answered My QUESTION" so that you could get the credit you deserve.


jdb38

Oct 28, 2014 1:01 AM in response to Rob Snow

I just wanted to add this image to show the issue that occurs.


You will see that the notification appears on the left for the actual account (Gmail in this instance), in Archive as Gmail archives messages, and Unread.

Now both images are from Gmail emails that have turned up in my Inbox. One doesn't show in the next column, which is a list of Unread messages, and the second one does.
The fact it's from the same account, means it can't be the account creating the issue and must be an OS issue
Any clearer on a solution?


Thanks in advance

User uploaded file

Smart Mail box not working Yosemite

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