Skip navigation

do you run multiple email clients because of quirky Mac Mail Search function (Lion + ML)?

334 Views 4 Replies Latest reply: Jul 9, 2013 3:40 PM by Barney-15E RSS
hotwheels 22 Level 1 Level 1 (0 points)
Currently Being Moderated
Jul 8, 2013 7:24 PM

i am repeatedly finding myself entering a search term in mac mail to find no results (or results after five minutes) and then entering the same search term in Sparrow (where i get even more results than i do in mail) in seconds. this means that Mac Mail search is basically useless to me on both Lion and Mountain Lion.


i have been trying to figure out what is going on now for roughly a year and i have rebuilt some kind of database by following some FAQ (i did this on both computers) and i am trying to read up on further leveraging the search function in this software but i am realizing today that if i cannot even get the simplest of terms to return any items in mac mail then either something is very wrong on my end or something is very wrong on the developer end of this software.


i've tried Postbox (total bomb) and i'm using Sparrow (very quick but very light on the functionality) and i am wondering if i need to (hack-hack) move back to Thunderbird for my IMAP based email.


anyone running a bunch of email clients and getting different things out of each?

Mac Pro, Mac OS X (10.7.5), win 7 + win xp in boot camp
  • Barney-15E Level 7 Level 7 (33,270 points)

    Mail not finding things usually means your Spotlight index is corrupt or incomplete.


    I don't find any problems with Mail's search, so I don't have a need for anything else.

  • Eric Root Level 6 Level 6 (13,850 points)

    Question 3. From Mail Help.


    Rebuild mailboxes



    You might need to rebuild a mailbox to update the list of messages in the mailbox. For example, if messages appear to be missing or garbled, or if you can’t find all relevant messages when you search using Entire Message. Rebuilding a mailbox can take a while depending on how many messages are in the mailbox.

    Select a mailbox, and then choose Mailbox > Rebuild.


    When you rebuild mailboxes for Internet Message Access Protocol (IMAP) and Exchange accounts, locally stored messages and attachments are discarded, and the messages and attachments are downloaded again from the server to your Mac. Your mailbox appears empty until the download is complete.

    There is a way to reindex your mail.


    Reindex messages



    If there are problems with information in your mailboxes, you might see an alert message saying that Mail needs to repair your mailboxes by reindexing your messages for you.

    At other times, you may want to reindex messages yourself—for example, when searching mailboxes using Subject, To, or From doesn’t return the correct results.

    1. Quit Mail if it’s open.
    2. In ~/Library/Mail/V2/MailData, delete any file that begins with “Envelope Index,” such as Envelope Index or Envelope Index-shm.Your home Library folder is hidden by default. To display it, choose Finder > “Go to Folder” and then enter “~/Library.”
    3. Open Mail.Mail creates new Envelope Index files. This process may take a few minutes, depending on how many messages Mail is reindexing.
  • Barney-15E Level 7 Level 7 (33,270 points)

    1. I don't now that you have to download the messages for it to work, but you do need to download them to search their contents.


    The list of messages that you see comes from a database that is built from the individual messages. Rebuilding the mailbox re-indexes all of those messages. That does not rebuild the Spotlight index.

    Eric has pretty much covered the rest of the details.


    I'm getting returns from the On My Mac mailboxes, so this may be an issue with the index/Spotlight index.


    Yes, spotlight will search email messages. You can set the order of things returned by Spotlight in the Spotlight Preferences. Everything on OS X is search using the Spotlight Index. It is hidden at the root of your hard drive.


    The Mail search is limited to email, including attachments, but it allows for narrowing your search with tokens.

    As you type, the search is on, and it will display any category that matches what you are typing. A list of categories will drop down to indicate how you may narrow the search. If nothing is offered, it isn't finding the term you are typing at all. When you select a category, it adds the token to the search field along with the search term. You can change the category by clicking on the arrow. The Attachment category only seems to be the name of the attachment, not the contents. The contents are in the "Message contains" category which ends up with an "Any" token. You can add more "tokens" which will further narrow the search. After setting one, click next to it and type away.

    Mail Help, Search a message, has some more info on using the tokens.


More Like This

  • Retrieving data ...

Bookmarked By (1)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.