Search function in Mail not working

Ive had this happen earlier this year, searching for mails wont find the mails i look for, only trough Finder.

Dont remember how i solved it last time, but i had to rebuild the entire mailbox to fix it.
Why is this happening, and are there other ways to fix it?


OSX 10.12.5

Posted on Dec 12, 2017 6:20 AM

Reply
Question marked as Top-ranking reply

Posted on Dec 12, 2017 7:45 AM

Try rebuilding the mailbox.


Rebuild mailbox


If that doesn't work, try re-indexing the mailboxes. This can take awhile if you have a lot of mail.


Reindex messages For El Capitan, try looking in V3. Sierra use V4. High Sierra use V5.


Reindex messages (2) See post by Linc Davis

48 replies

Feb 11, 2018 3:57 AM in response to AppfactoryIntl

I had same problem today - search would not find anything! I have resolved though.


After quitting and restarting Mail there was no difference, so I will usually go through a standard routine of shutting down, restarting while holding down the 4 keys to ZAP the PRAM (alt, command, P, R) you'll hear a bong... I always hold the keys down till it does another cycle and bongs again!... then once it has started up, I quit any programs and then go to Utilities to open up Disk Utility, and then choose the First Aid repair and run that.


After I did that I opened up Mail and the search then worked. Sorry if I'm teaching to suck eggs on the zapping the PRAM stuff, but I'd sooner be clear than assume people know how to do that.


Good luck.

Feb 12, 2018 3:45 AM in response to PattiMc

400 miles... where are you - in outer Mongolia?


I am already on High Sierra 10.13.3 so maybe worth an update.


I'm no expert, but I have to think it's something to do with the indexing, as it sounds like it's lost that. There was someone suggesting you dump the preference pList settings for mail I think, which just gets replaced with a new one on restart. But have you tried rebuilding each of your mailboxes? It's the bottom option under the Mailbox menu... can take quote a while depending on the size of your mailbox, but nothing to lose.

Jan 30, 2018 9:26 AM in response to AppfactoryIntl

Hi I had this problem too, and none of the rebuilding, etc., worked. Here is what I did.


I went to my Library by holding down the option key while clicking on File > Go (to reveal the invisible library). Then I went to Preferences and found com.apple.finder.plist BUT I ALSO found an additional file named something like com.apple.finder.plist.XXXXXX (with random capital letters where the Xs are).


That seemed fishy to me, so I compressed both plists into an "archive" (just in case I was wrong) and deleted the uncompressed versions.


Then I restarted my computer so it could make a new .plist to replace the one(s) I trashed. Out of curiosity, I also went back into the Library to see if I had TWO new .plist files and of course there was only one—as I suspected should be the case. How did the other one get in there? Hack? Virus? Glitch? I don't know. Anyway, I trashed the archive to get rid of it and my mail search function is running normally now.


Hope this helps!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Search function in Mail not working

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