I finding that Search in Apple Mail in Catalina (first non-beta release) is not locating any matching messages. I’ve rebuilt the Spotlight index on the machine, but I’m not able to get any search hits for email messages in Mail or in Spotlight. (And Houdah Spot apparently is now prevented from searching Mail’s Spotlight index.)
Thanks for the tip on Foxtrot. I”ll check that out. It looks like Foxtrot is creating its own index of Mail messages, perhaps instead of using the Apple Mail Spotlight index – at least that’s how I read this page from the Foxtrot dev.
Blocking access to the Spotlight index for Mail is strange and “un-Apple”.
Edit: I had Foxtrot reindex the computer and so far all the mail-searches I’ve done are as successful as doing them in Mail, without the annoying search box in Mail. Again, thanks for the tip.
Sorry to do a ‘me too’ post - but I’ve also had no luck with searching within Mail.app on Catalina. I don’t use any of these other search engines (HoudahSpot etc.) just straight into the search box in Mail.app.
Anyone else finding the same thing - and even better, got a solution? (Fortunately my mail accounts are with google and zoho, so I can always go to the web interface to search.)
I rebuilt the Spotlight index and it worked for about 5 mins, and now I am back to square one! I’ve trawled the various different forums and tried the various solutions like Shift-starting Mail twice, and clearing the Spotlight index either with Terminal commands or by adding, and then subtracting the entire drive to ‘Private’. So far no effect. Anyone got any inspiration?
Clear the Mail.app indexes. You will find some “Envelope Index*” files in your ~/Library/Mail/V7/MailData folder. Trash them and empty the Trash. (They will be rebuild after relaunching Mail.app, don’t worry).
To do so:
From the Finder > Goto Menu > Go to folder: “~/Library/Mail/V7/MailData”.
From the Terminal.app: “open ~/Library/Mail/V7/MailData” (then Enter)
Restart your Mac. Re-open Mail.app, and all we be fine again.
I used CleanMyMac X, in the “Maintenance” tab. The “Reindex Spotlight” command. It takes a while, and CleanMyMac X indicates when the job is still running. (It’s a front end for the standard mdutil process described by @PeterOConnor.)
Well, I think I spoke too soon, as search was dead not long afterwards…though I’ll give it another try over the next few days.
Actually, now I realise why the / is part of the commands - it specifies the filesystem for the commands to run on (I was confusing it with \, which is used to tell the shell that you’re entering a multi-line command).
For info I have been having some degree of success with the Shift-Open method described above. It is aukward as you have to rebook each time, but sometimes I get half a day before it stops working again.