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

mail search completely broken in Catalina

I am no longer able to search.

1) if I search something all it does is show the numerical number of matches below the search bar - nothing changes in the actual email list

2) if I select the sender (right click) same result - nothing shows up except the numerical number of results which does not help


I tried to rebuild my mailbox but this does nothing.


Any help would be appreciated.

Posted on Oct 7, 2019 3:42 PM

Reply
Question marked as Best reply

Posted on Oct 8, 2019 5:17 PM

This solved my problem. My search was broken too. I followed the stop/start spotlight as mentioned in the post above and the search is gradually coming back to normal. I think Spotlight needed a kick to get moving.

Summarizing from the link:


1) Launch the Terminal.app (Just copy/paste the string starting with sudo.... and press return)

2) Stop Spotlight and remove the indexing: # sudo mdutil -i off -E / <return>

3) Enable it again by typing: # sudo mdutil -i on / <return>


Similar questions

161 replies

Oct 9, 2019 3:16 AM in response to miner2008

I'm having the same issue.

I tried rebuilding each mailbox, removing the Envelope Index files (in ~/Library/Mail/MailData), reindexing the volume with Spotlight, erasing the entire Mail folder, and finally disabling/enabling Spotlight.

Nothing worked.

Mail search is still dead in the water, and smart mailboxes and the "Flagged" folder are not responding.

Spotlight doesn't display any Mail results either.


The full reindexing with Spotlight took only a few minutes (it's a brand new laptop with not too many files). I assume this is normal, but is there a delay before it takes effect?


Thanks in advance

Oct 10, 2019 11:20 AM in response to Lev Osherovich

Yes, it seems I had called victory a bit too soon. The Gmail trick only worked for a while, and then the issue popped again.

I applied the fix you describe, and once again for an instant I thought it solved it, but after a reboot, the problem came back.


Is there a reason why the attribute is reassigned to the folder? Can it be prevented?


Oct 10, 2019 11:37 PM in response to theak123

After testing other procedures, this is the only one that worked.


I disabled all my Gmail accounts and restarted the computer. After that, my other IMAP worked fine. Then I enabled the Gmail accounts one by one, testing for each one if the search engine was working. It was.


Almost inmediately, everything went back to how it's supposed to be.


"Crisis" avoided.


Thanks!

Oct 11, 2019 12:35 AM in response to JamesX77

Day 3 update: problems are back, the search returns mostly positive results, but also some false positives (messages that don't contain the string of characters). The "flagged" folder doesn't show all the different colors of flags in use.


The odd thing is that I haven't quit Mail or restarted the computer, and yesterday evening everything seemed fine.

The extended attribute com.apple.quarantine was gone (not by itself, but with the xattr command) and is still absent, but for some reason the search is buggy again.


Any insights from anyone?

Oct 14, 2019 6:21 AM in response to JamesX77

I tried to turn off and on, to reboot indexing via terminal, deactivate account. None of that worked.

Please help us how can we can fix the problem of searching in the mailbox.


I don't use gmail. I am using IMAP server mail. My mails are in the inbox however I am not able to search.


When are you going to support this treat Apple? Clearly there is lot of users that are raging!!!

Oct 16, 2019 4:50 AM in response to theak123

Hi. Many thanks for that, it worked a treat! I did it by going via Mail>Preferences...Accounts and switching off Gmail there. Rebooted and search was back to business as usual. Flagged emails were also showing properly again in the 'Flagged' mailbox which they weren't before. Switched Gmail back on via the same procedure and all still working fine so far. Now back to mourning the loss of all those useful little 32bit apps that no longer work under Catalina such as CuteFTP & Kinemac grr. (Not to mention Aperture - very sad loss).

mail search completely broken in Catalina

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