Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

tuffcalc

macrumors newbie
Original poster
Dec 6, 2012
3
0
Hi,

I'm wondering how the mail.app search indexing works (specifically for message content searching).

Is every single email stored on my server if I am using IMAP (say, for example, with Gmail or iCloud)? Is there a limit to how far back content searching will work?

Thanks
 

robgendreau

macrumors 68040
Jul 13, 2008
3,465
329
I believe that Mail.app uses Spotlight to search content on emails that are stored locally on your computer, unless something's changed recently. It uses a separate system to search header info, and kept that info in something called "Envelope index" in Mail Data in the Library somewhere.

Whether "every single" email you have is stored on your provider's server depends on the vendor and how you've set it up. If you keep everything on gmail, for instance, you can search back as far as you like. And Google's search engine is pretty quick.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.