[Sierra] Really reindex mailbox?

Hi,

Is there a real way to reindex MacMail boxes?
Most of my messages are found by spotlight but MacMail is clueless from within the app.

I tried to "Rebuild", that doesn't do anything. I removed the Envelope-index and Evelope-Index-shm files in the Library Mail folder, MacMail reimported everything, but my messages are not seen when searching for content.


Now, I think that those instructions are for IMAP accounts.
I don't use that at all, I have 100% of my messages (sent & received) in the "On my Mac" section, as I sort them right away into personal folders (mailboxes). The IMAP mail server is empty most of the time. The rebuild command is, if I'm correct, for server side reindex not machine side.


Any idea on how to really reindex local mailboxes in a way to skip SpotLight? I'd like to be able to tell MacMail to search for a string within a specific folder? It just always fails, even basic searches.


Thanks for any help.

Steve

MacBook Pro with Retina display, macOS Sierra (10.12)

Posted on Dec 28, 2016 3:47 AM

Reply
12 replies

Jan 1, 2017 5:35 AM in response to dianeoforegon

Hi Diane,

Thanks. I noticed that. I just found not useful when a message is buried deep into a structure as when you display the "folder" column, Mail just informs you about the last level, not the entire hierarchy, leaving myself having to dig into each folder. It's hopeless.

But I'm evaluating other products now that may be designed a bit more professionally and allow local mailboxes.

Thanks anyway.

Steve

Jan 1, 2017 12:37 PM in response to sjordi

I'm not sure why you are "digging" into the folder structure. Just use All. Mail search should find it if you select All.


Many call Microsoft Outlook a professional email app, but search in it has many more issues than Mail. It's horrible for storing local data. If the Identity gets corrupted you often lose everything. Rebuild no longer exists in Outlook 2016 and rebuild in Outlook 2011 fails more than it is successful.

Dec 28, 2016 4:07 PM in response to sjordi

sjordi wrote:


Thanks,

As I said, I'm not talking about SpotLight, which works fine, but returns too many results.

What I want to do is have MacMail be able to use it's own search engine within selected "On my Mac" folders, which doesn't work at all.

Yes, I understand that you don't understand. Mail does not have its own search engine. Nothing on macOS has its own search engine. All searching is done by Spotlight.

And, its "Mail," not "MacMail."

Dec 29, 2016 5:01 AM in response to Barney-15E

I did reindex my entire machine with the method explained and it turns out it still doesn't work.

Now, it may be a functionality problem within mail.


If I search for a sentence I know is in a mail stored in a subfolder, Spotlight finds it, mail finds it when "All" is selected.

Now, if I have a folder named "A" that includes subfolders 2010, 2011... 2016 and I click on the "A" folder, it tells me that no strings are found. Even if the targeted mail is stored in sub folder 2014...


And no need to be sarcastic, it's never a s sign of greatness

Dec 29, 2016 5:28 AM in response to sjordi

And no need to be sarcastic, it's never a s sign of greatness

Neither is stubborn ignorance.


From what you describe and what I have observed trying to replicate it, Mail will only display found messages directly in the folder you select in the search. It will not show results in subfolders.

Send Feedback to Apple: http://www.apple.com/feedback/mail.html


If you start the search with the mailbox selected and it finds a matching search token you select, but none of the emails are in that specific folder, it will hint that you need to search all by leaving that option showing below the search field.


In general, the search will indicate it has found something by displaying matching search tokens to choose from. Further, if you have a specific search mailbox selected when you change the search criteria, it will drop down the search all token if no matching emails are found in that specific mailbox. If it does match some emails in that mailbox, it will show the results of just the pre-selected mailbox.

Dec 29, 2016 5:05 PM in response to sjordi

If I search for a sentence I know is in a mail stored in a subfolder, Spotlight finds it, mail finds it when "All" is selected.

Now, if I have a folder named "A" that includes subfolders 2010, 2011... 2016 and I click on the "A" folder, it tells me that no strings are found. Even if the targeted mail is stored in sub folder 2014...


If you select the specific folder in Mail, then enter words in the search box, Mail will find items only in that folder. Mail will not look in the subfolders.


I find that using All to search is the quickest and simplest option.

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.

[Sierra] Really reindex mailbox?

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