Houdah Software Forums
Register Latest Topics
 
 
 


Reply
  Author   Comment  
Guid0man

Registered:
Posts: 3
 #1 
I had to reinstall my Mail app a couple of weeks ago and ever since then the built in search feature hasn't works.

I googled a bit for alternatives and found Tembo.

It's been working brilliantly since then but suddenly Tembo has lost the ability to search Mail! Everything else it searches ok just not messages.

I basically can't do my work without being able to search my Mail so am, as you might imagine, pulling my hair out in frustration.

Anything I can do to make it work again?

I've changed no settings whatsoever and def have Mail selected under "Groups" in settings and local volumes selected in scope. 
0
houdah

Moderator
Registered:
Posts: 2,924
 #2 
Hi!

Tembo relies upon Spotlight. I believe the search feature in Mail.app does too.

Please check System Preferences > Spotlight > Privacy to make sure you don't have excluded mail folders from Spotlight search.
Next try rebuilding the Spotlight index.

Best,
Pierre Bernard
Houdah Software s.à r.l.

__________________
Houdah Software s. à r. l.
https://www.houdah.com

HoudahGeo: One-stop photo geocoding
HoudahSpot: Advanced file search utility
Tembo: Easy and effective file search
0
Guid0man

Registered:
Posts: 3
 #3 
Hi - thx for the speedy reply.

My research tells me that you're correct, Mail does use Spotlight search results but for some reason it's started failing for quite a few people recently (since Mavericks anyway).

Spotlight works for everything else (and even throws up a handful of Mail results when I search in the Spotlight search box rather than the built in Mail one) but for some reason not mail.

Re-building Spotlights index is something I've already tried (apologies for not saying so before) to no avail. I've also tried rebuilding all the mailboxes.
0
houdah

Moderator
Registered:
Posts: 2,924
 #4 
Hi!

You can try the following in /Applications/Utilities/Terminal.app :

mdimport ~/Library/Mail

This tells Spotlight to re-import mail messages.

Also try this on a .emlx file within ~/Library/Mail

mdimport -d4 ~/Library/Mail/V2/Mailboxes/SOME_MAILBOX/…/SOME_MESSAGE.emlx

The d4 option tells mdimport to output debugging info. This includes the path of the importer used: /System/Library/Spotlight/Mail.mdimporter
and the data obtained from the importer. There should be a whole lot including the body of the mail message.


You can also try rebuilding the Mail envelope index: http://support.apple.com/kb/PH11704
This is not directly tied to Spotlight, but re-importing messages might have Mail trigger a Spotlight index update.


Best,
Pierre Bernard
Houdah Software s.à r.l.



__________________
Houdah Software s. à r. l.
https://www.houdah.com

HoudahGeo: One-stop photo geocoding
HoudahSpot: Advanced file search utility
Tembo: Easy and effective file search
0
Guid0man

Registered:
Posts: 3
 #5 
Hmm - tried all these to no avail. Although I couldnt do this:

mdimport -d4 ~/Library/Mail/V2/Mailboxes/SOME_MAILBOX/…/SOME_MESSAGE.emlx

...as there weren't any .emlx files in there (see this image: http://cl.ly/image/1Z460s0V3I1j
)!
0
houdah

Moderator
Registered:
Posts: 2,924
 #6 
Hi!

I believe the message should be there. They are stored there on my Mavericks machine. And were at that locations on previous OS versions.

Mavericks however takes a detour through the sandbox container at ~/Library/Containers/com.apple.Mail/Data/Library
The Mail folder there is actually an alias linking back to ~/Library/Mail
I wonder if that could be different on fresh Mavericks installs. It could be that fresh installs store mails in the sandbox container rather than at the traditional location.

You could try setting up a new account on your Mac and check how Mail stores messages in that account.

Best,
Pierre Bernard
Houdah Software s.à r.l.

__________________
Houdah Software s. à r. l.
https://www.houdah.com

HoudahGeo: One-stop photo geocoding
HoudahSpot: Advanced file search utility
Tembo: Easy and effective file search
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.