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

None of the search works in Big Sur Mail.app

Hi,

To me Big Sur Mail.app is next to useless as none of the search, nor smart mailbox works at all.

I upgraded then immediately noticed that none of my smart mailbox worked, they displayed a correct (?) number of unread message, but clicking on them, just makes the number disappear, and show no message at all, like if it were empty.

Then I tried searches, I took the eMail address of a colleague and it returned 2 results, after a long "Searching…" message occurred.


I rebuilt my spotlight index, then deleted all envelope files, then rebuild the database. No dice.


I even deleted the whole /Library/Mail folder, and after all my iMap mails were downloaded, still same issue.


I'm using a Google Gsuite email imap account, and an iCloud one, same issue

Posted on Nov 13, 2020 6:38 AM

Reply
Question marked as Best reply

Posted on Nov 13, 2020 9:48 AM

Same issue, search fails every time. No results for any search.


Searching by sender, subject, all terms fails to produce even one result. Had to go to web iCloud interface to find messages from this week.


Come on Apple. Where is the excellence?

Similar questions

89 replies

Jan 12, 2021 3:44 AM in response to Glitchtracker

Despite Rebuilding, erasing reconstruction of my spotlight index ad noseam, I noticed that my spotlight can't launch Apple's application that are in Utility subfolder either, for instance with command-space (to invoke spotlight search box) I can't find and hence launch my keychain, or terminal


So I guess the whole spotlight thing is a mess in Big Sur


Mar 11, 2021 4:15 PM in response to widorgelg

FWIW, I've noticed the following on my iMac which is showing this problem:


if I am logged in as User 1 (no other users active) the smart mailboxes seem to work ok

if I "fast switch" to User 2 there are now 2 instances of corespotlightd active

if I "fast switch" back to User 1 (whether I log out of User 2 or not) then:

there are sometimes still 2 corespotlightd running and I have the smart mailbox problem

sometimes only the original corespotlightd is running and then smart mailboxes work ok


Also, in the first case (where there are 2 running) if I kill only the second one, then smart mailboxes work ok


so at least on my machine, the problem seems to be related to having 2 instances of corespotlightd running

Mar 11, 2021 11:50 PM in response to trwarren239

There is a corespotlightd for each logged in user, you can see on the right of the window which user is the owner of each process. And now I run all day with two processes running, fast switching between users and never logging off, and Mail search works. If by mistake I log off of one user the bug happens !


What I see is that Mail search works even when I have two corespotlightd processes running (it happens because I fast switch between users, so both users are logged in and each users has is own corespotlightd process). Now if one user logs off, I see only one process and mail search is broken.


The only time where I see two processes and Mail search is broken, is when a third user has logged off: then the two processes are impacted, and they will both need to be force killed.

Mar 19, 2021 10:10 AM in response to rav83

I'm not sure if you have seen the posts but people have figured out its an issue with the process "corespotlightd" and the behavior starts if second (or third...) user has logged in and logged off on this same computer. To get search working again you need to restart this process, rebooting will do this, but an easier way is to open Activity Monitor, then search for this process under CPU, select it and click the X button at the top of the window and select quit. It will immediately restart and search should start working again (until a second user logs off again). This is much easier then rebooting, hope it helps.

Jun 17, 2021 6:49 PM in response to Glitchtracker

Hey there!


I see it’s the same on both accounts, and the steps you’ve taken so far.


Can you try this:

Backup your data of course, especially if POP accounts, and export mailboxes if needed. (You’ve already manually attempted mail index, so sounds like you know what’s involved).


Quit the Mail app.


Open:

Finder > Go > Go To Folder, type:


~/Library/Username/Metadata/CoreSpotlight/


Press “Go”.


Delete the contents of the folder, restart and test.


If issues persist:


Does the same issue occur:

In other apps?

In a different admin account?

In Safe Mode?

On your other devices?

With WiFi and Ethernet disconnected?


Likewise, I know you’ve deleted the entire ~/Mail folder, (Make sure to restart before opening, but I wouldn’t recommend deleting a necessary folder like this), but did you try removing all the accounts from:


System Preferences > Internet Accounts, restart > are-add > Launch Mail and rest?


Just throwing out steps and possibilities out there, but that info might help if the first step didn’t work.


Hope that does help though, cheers!

None of the search works in Big Sur Mail.app

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