DataChris

Q: Turn off email search in finder search

*Is there any way to turn off email content in Finder search?!* I use the Finder to search for files and folders not archaic references to 5 year old email content. There has got to be a way to turn this off by default. Terminal/Command line fix? Any fix? Any solution? Anyone?

iMac27", Mac OS X (10.6.6)

Posted on Mar 13, 2011 3:33 PM

Close

Q: Turn off email search in finder search

  • All replies
  • Helpful answers

first Previous Page 4 of 6 last Next
  • by Gabriel October,

    Gabriel October Gabriel October Apr 22, 2013 9:43 AM in response to ljksadflkjjsdfljksfdlkjljksd
    Level 1 (12 points)
    Peripherals
    Apr 22, 2013 9:43 AM in response to ljksadflkjjsdfljksfdlkjljksd

    I think I found a solution using Privacy of the Spotlight Preferences:

     

    To prevent "Mail.app" from being indexed in Spotlight (not only in the quick search but also in Find window), the problem is that the Mail folder is hidden.

     

    1. Open a Find window and "Go to Folder" (menu or Shift+Command+G): "~/Library/"

    2. Open the Spotlight Preferences - Privacy

    3. Drag the "Mail" folder in Finder to the Privacy area in Spotlight Preferences

     

    That's all. It worked for me.

  • by oxcart,

    oxcart oxcart Apr 22, 2013 9:45 AM in response to Gabriel October
    Level 1 (84 points)
    Mac OS X
    Apr 22, 2013 9:45 AM in response to Gabriel October

    I am still in snow leaopard and the problem with this strategy is that you loose the ability to search within the mail application.

  • by Gabriel October,

    Gabriel October Gabriel October Apr 22, 2013 10:12 AM in response to oxcart
    Level 1 (12 points)
    Peripherals
    Apr 22, 2013 10:12 AM in response to oxcart

    That is what I needed.

     

    What do you need?

    Search attachments but not email messages or the other way around?

  • by ljksadflkjjsdfljksfdlkjljksd,

    ljksadflkjjsdfljksfdlkjljksd ljksadflkjjsdfljksfdlkjljksd Aug 20, 2013 11:18 AM in response to Gabriel October
    Level 1 (0 points)
    Aug 20, 2013 11:18 AM in response to Gabriel October

    Gabriel, I'm anxious to try that fix, but first please clarify your statement for me.

     

    On April 22 you offered a fix for excluding mail from being included in regular searches.

     

    Oxcart replied that then you lose the ability to search WITHIN the mail application.

     

    Did you really mean (in your last post) that that's what you wanted? To give up the opportunity to search for a mail item WITHIN mail??

     

    I think most of us want to still be able to search on mail WITHIN the mail application, we just don't want mail included in the results when we do general computer searches outside the mail application.

     

    In other words, if I go Command-F and type in the word "taxes," I don't want 3400 emails to show up in the results; I'm not looking for an email, I'm looking for files on my computer that are about taxes. BUT if I recall that Aunt Bertha sent me an email stating the time her train arrives, and I want to find that email, I want to be able to open Mail and type "Bertha" into the MAIL search field and have it show me all the emails relating to Bertha.

     

    Anyway, before I start screwing around and maybe messing things up, have you found a way to avoid emails from general searches but still be able to search on emails withing the Mail application? That is the question and I'm wondering if you could confirm whether or not you have achieved it (and how). I am guessing you might not have been precise in your last reply, as I don't think anyone would want to give up the ability to search for particular emails.

     

    Thanks!

  • by oxcart,

    oxcart oxcart Aug 20, 2013 11:36 AM in response to ljksadflkjjsdfljksfdlkjljksd
    Level 1 (84 points)
    Mac OS X
    Aug 20, 2013 11:36 AM in response to ljksadflkjjsdfljksfdlkjljksd

    Please let me clarify:  To stop the finder searching in mail messages simply open the spotlight pane in the system preferences and uncheck the "mail messages"

     

    The reason I was involved with this thread is that this does not stop the finder search returning hits to mail attachments.  It would not be so bad if it located attachments received, but it also locates attachments sent and if you sent the attachment to ten recipients then it locates ten copies of it. 

     

    The only way to stop the finder search returning hits to mail attachments is to drag the mail folder into the privacy column.  This kills the ability to search from within the Mail program. 

     

    If all mail attachments were stored in a single 'attachments' folder one could drag that to the privacy pane.  However, Mail spawns numerous attachment folders and it is tedious to drag them to the privacy pane.  Although this is what I do now and again to reduce the number of hits to attachments.

     

    NB, this is in 10.6.  If I remember correctly, the situation is even worse in 10.8.  Although it may have been cured by now.  Some of the worst blunders have been silently fixed during upgrades but I have not followed closley as I am sticking to 10.6 until new hardware forces me on and up.

  • by jschechter,

    jschechter jschechter Oct 21, 2013 6:45 AM in response to varjak paw
    Level 1 (0 points)
    Oct 21, 2013 6:45 AM in response to varjak paw

    Thanks for this varjak. It makes the spotlight results usable for heavy email users.

  • by slipah,

    slipah slipah Dec 18, 2013 4:51 AM in response to jschechter
    Level 1 (0 points)
    Dec 18, 2013 4:51 AM in response to jschechter

    The solution:

     

    1. Turn off mail search in Spotlight preferences

    2. open terminal

    3. type this:

    "sudo mdutil -E /"

    (Spotlight reindex)

     

    thats all!

  • by Douglas Wirnowski,

    Douglas Wirnowski Douglas Wirnowski Feb 5, 2014 2:42 PM in response to _roland_
    Level 1 (35 points)
    Feb 5, 2014 2:42 PM in response to _roland_

    UTTERLY USELESS! Big Apple fail on this one -- it doesn't work and its not easy.

  • by moof66,

    moof66 moof66 Mar 24, 2014 10:44 PM in response to Gabriel October
    Level 1 (4 points)
    Mar 24, 2014 10:44 PM in response to Gabriel October

    None of these socalled solutions worked for me.

    I still get hundreds of mail results whenever I am searching for a clients folder. I use 4 Macs and this abysmal state of affairs exists only on the Mac I upgraded to Mavericks.

     

    Is there a simple button I can click in a preference pane to turn off mail results appearing in the Finder??

    Or does anyone want to make a lot of money writing an Application that will provide this functionality?

    Is there a simple way to upgrade to Mountain Lion from Mavericks?

  • by oxcart,

    oxcart oxcart Mar 25, 2014 1:44 AM in response to moof66
    Level 1 (84 points)
    Mac OS X
    Mar 25, 2014 1:44 AM in response to moof66

    If your computer shipped with mavericks there is probably no way to boot in ML because ML will not have the drivers for the particular hardware configuration.  If your computer shipped with ML and you upgraded to M, then it is possible to downgrade using a backup.  There is also a terminal solution which you can fine elsewhere on this site if you search.

     

    Sorry for your troubles.  I will not upgrade from SL until my hardware fails or Mavericks gives me a 'search by file name' shortcut to circumvent the 3 operations on the dropdown menu currently required.  I sometimes wonder if the guys at Apple use their own products.

  • by tholius,

    tholius tholius Apr 9, 2014 12:23 PM in response to slipah
    Level 1 (0 points)
    Apr 9, 2014 12:23 PM in response to slipah

    This solution works. Make the changes in Spotlight preferences and then re-index. Solves the problem!

    SOLVED! Thanks to slipah

     

    The solution:

     

    1. Turn off mail search in Spotlight preferences

    2. open terminal

    3. type this:

    "sudo mdutil -E /"

    (Spotlight reindex)

     

    thats all!

  • by MattKinNJ,

    MattKinNJ MattKinNJ Apr 9, 2014 2:06 PM in response to tholius
    Level 1 (5 points)
    Apr 9, 2014 2:06 PM in response to tholius

    *NOT* solved!

    See the third post from the original author on the first page.

    We do not want to disable it for all of Spotlight (and thus potentially also in Mail itself!), but *just* when doing a Finder search as opposed to a system-wide or Mail.app search.  Think more like the opposit of  "Kind" + "is" to instead find "Kind" "is not" and being able to say email...

  • by Rob Williams,

    Rob Williams Rob Williams Apr 10, 2014 10:52 AM in response to MattKinNJ
    Level 1 (71 points)
    Mac OS X
    Apr 10, 2014 10:52 AM in response to MattKinNJ

    I agree. the simplest way for Apple to help here would be to add the "is not" condition globally to Spotlight search. "Kind is not Mail" would catch most problems, and "File Extension is not .olk" would solve it for Outlook for Mac users.

  • by Bret B,

    Bret B Bret B Apr 30, 2014 5:59 PM in response to DataChris
    Level 1 (0 points)
    Apr 30, 2014 5:59 PM in response to DataChris

    Using Outlook and I want emails to be searchable from Outlook but not Finder.

     

    Moving "Microsoft User Data" out of Documents stops emails in Finder Search, but Outlook search doesn't work unless it's in Documents.  i've tried links and excluding from Spotlight, but can't get Finder to not search AND Outlook to search emails when in Documents. 

     

    It's a conundrum and I mainly blame MICROSOFT.

     

    So instead of fighting with MS over Documents folder I just surrendered it and moved my docs.  I created a folder MyDocs on Desktop so searching Desktop will find all my stuff but not email.

  • by DataChris,

    DataChris DataChris Apr 30, 2014 8:59 PM in response to DataChris
    Level 1 (5 points)
    iPhone
    Apr 30, 2014 8:59 PM in response to DataChris

    The fact this thread is still alive and driving people insane on the daily screams volumes of how vital it is that Apple fix this issue.

     

    My round about solution has been to consolidate all my non system/application/email files (stuff I create) into a "MyFiles" folder inside my user folder, leaving the outlook/email folder within the documents folder alone. Then I added that MyFiles folder to the Sidebar as a favorite.  Then I select the MyFiles folder from the Sidebar just before pressing command-f (or I press command-f to open a Finder window first then I select it...) then if that folder is selected when command-f is pressed it becomes an search location option at the top of the Finder window. I select that option and perform a search. Usually gets me what I need.

     

    Of course if the file I'm searching for is on my desktop or mistakenly in some other folder search is not finding it but at least it eliminates the 33,894 emails and all their content currently in my outlook folder. Plus half the time the Finder can't find stuff anyhow. I can literally be looking directly at the file on my desktop (searching my desktop folder) and the Finder can't find it (despite re-indexing etc).  But since Mavericks still hasn't fixed this problem maybe one of these Finder alternatives has a solution.... Pathfinder - Totalfinder - Extrafinder

     

    Good luck.

first Previous Page 4 of 6 last Next