Spotlight privacy items showing up in Mail spotlight search

I've got a Spam folder in Mail whos mbox i've put into Spotlight's privacy settings. When I do a search for one of the spam mails in the main Mac OS spotlight search, the results don't come up, which is good. But when I search in Mail's spotlight using the same criteria, results show up which means to me that Mail is ignoring Spotlight's privacy settings.
Anyone else have this problem or know of a fix for it?

ok, this shows that the spotlight comment "the Kat" is retained in spotlight database as it's recorded in the kMDItemFinderComment field. then the problem is likely corruption of the .DS_store files for the folders containing those files. I really don't know why this happens and what's the proper way of dealing with this but I made the following workaround for the same problem while helping someone else in the past
http://discussions.apple.com/thread.jspa?messageID=10549447
paste the following into AppleScript Editor
<pre style="
font-family: Monaco, 'Courier New', Courier, monospace;
font-size: 10px;
margin: 0px;
padding: 5px;
border: 1px solid #000000;
width: 720px;
color: #000000;
background-color: #ADD8E6;
overflow: auto;"
title="this text can be pasted into the Script Editor">
tell application "Finder"
set mlist to selection
set curfolder to item 1 of mlist
repeat with this_item in entire contents of curfolder
set ppath to quoted form of POSIX path of (this_item as alias)
set comment of this_item to (do shell script "mdls -name kMDItemFinderComment " & ppath & "| awk -F\\\"  '{print $2}'") 
end repeat
end tell</pre>
select the folder containing all those items (they can be in subfolders) and press 'run" in applescript editor.
Message was edited by: V.K.

Similar Messages

  • TS3276 Sent items show twice on MAIL

    Hello
    I am using Macbook pro late 2013 with latest updated OS X Yosemite.
    First, I am facing some issues currently with the Mail application. I am using Hotmail Server on application. Whenever i send a mail. it automatically send twice and can be seen in my Mail "sent " folder.
    Secondly, I am having a problem with apple tv . I am using magic mouse as well. Whenever i tried to connect with Apple TV wirelessly, APPLE TV often stopped responding and get disconnected. I have to reconnect it after almost every 30 minutes.
    I dont know whats the problem. These such minor issues will not suit to APPLE at all .
    Kindly fix such issues or give some updates in OS X.
    Thanks
    Regards
    Nabeel

    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Feedback
    Or you can use your Apple ID to register with this site and go the Apple BugReporter. Supposedly you will get an answer if you submit feedback.
    Feedback via Apple Developer

  • Mail+Spotlight Search Not Working in Lion

    I've been dealing with this problem for over a month and have not been able to fix it.  Search works fine in Lion on several computers, but on my laptop it still won't do a complete search.  It will only pull up emails from people in my contacts list..... no subject key word searches or people outside my contacts searches..... very frustrating! The searches also don't work in Spotlight, so I can't use spotlight as a backup.
    I've tried rebuilding my mailbox.... deleting and recreating the account.... tossing out the Envelope Index folders in the Mail library... Deleting and re installing my search window, etc...... I see lot's of other people with the same issue. It's frustrating when your running your business on your computer and have to deal with a flaw in a new OS..... it was working fine in Leopard..... whats up APPLE?  Please help! 
    Other Info:
    Macbook Pro 2008 Version with 2.5 Ghz Intel Core 2 Duo
    Running 10.7.4

    Glenn,
    Regarding adding and deleting the System Drive from the Spotlight Privacy Tab...... I'm following your sequence, but when I come back to Spotlight Search in the menu bar it just works the same.... no mention of indexing. What's interesting is that "Mail" dosn't appear anywhere in search results when a keyword search is performed via spotlight.
    Regarding the "enevelope Index Files" ..... I followed the instructions and quit and re-opened mail as instructed.  When I re-opened Mail I selected "continue" and the program began to index the contents of mail for about 30 minutes.  I thought that would would fix the issue, but it's still not working. 
    I've tried to compare the account setup from my IMAC which works fine to see if I have something setup wrong in the account, but everything looks the same. 
    I guess I can try to re-index again?  Don't know what else to do? 
    Thanks,
    Bill

  • Password protecting mail app and permanent deletion of emails so they don't appear in spotlight search

    I realise that there is a temporary way to prevent this happening by unticking the 'mail' option in the spotlight search settings menu, but how do you permanently delete the emails? I assumed that when I hit delete then emptied the trash box, the mails were gone for good. But finding that they remain stored in some hidden place and can be easily accessed is very annoying! In fact, finding that other users can quickly change the settings back and have free access to my email is rather disturbing anyway, especially as there is no way to password protect my email account once i activate the mail app. the apple mail app is linked to my yahoo account, but within yahoo mail there seems to be no problem in regards to deleted mail being stored somewhere else, only within the apple app system.
    So i guess id like to know, is there some way to password protect my account or do I just need to keep deleting my account before lending the ipad to someone else and then reinstating it? And is there any way to properly delete emails for good?
    I would be happy just to go without the mail app and log in directly through yahoo in Safari, except that I find the notification alert when I receive a new mail very handy!!

    [edit] I dragged the email I sent through the MBP Mail app (under MAILBOXES > Sent > Yahoo!) to the highlighted Sent folder (YAHOO! > Sent), and now it shows up on all Yahoo Sent folders (iPad app, web browser, phone app). Not entirely solved the issue but will use web browser to sent future emails to keep everything in sync.

  • Hundreds of Identical Files & Folders Show In All Spotlight Searches

    Hundreds of Identical Files & Folders Show In All Spotlight Searches
    Hi,
    I had this issue posted in September and didn't get back to it 'till today so I found it archived. I don't think I got any answers the first time around. When a post is archived, are replies archived also?
    Here's the problem:
    Spotlight works for me the way it’s designed to work. It finds what I’m looking for if the item is in the computer.
    But what are showing up in most of my searches, are long columns of files, all with the same names, sometimes as many as forty or fifty identical items. These files have the same dates and sizes. Some are located in different folders, including Trash, but most are complete duplicates
    I do occasionally save as the same document in different places, or make a duplicate/copy to put in more than one location. But I have never created more than a few duplicates. In Spolight, there are hundreds
    Any suggestions?
    Rafael
    ibook g4 Mac OS X (10.4.7)

    I rebooted the machine. Now all the files show up in Finder. But when I repeat the exporting procedure I get the same problems again. Files are not showing up in Finder as they are supposed to.

  • How do I delete items in spotlight search?

    When I click on Spotlight Search, a Window opens with various categories, one of which is history and bookmarks, here there are some embarrassing items. How do I delete them so that they do not ever reappear anywhere?

    Try System Preferences/Spotlight/Privacy and add them there. Then reindex Spotlight.
    Spotlight – Re-index

  • Spotlight Searches POP Mail Attachments

    I started using POP to fetch my Gmail. Now Spotlight is indexing all message attachments and showing results from them (which I do not want). If I add the Mail folder to the list of locations not to be indexed by Spotlight, messages in Mail become unsearchable.
    How do I stop Spotlight from showing results from my mail attachments without altogether stopping search within Mail? (I do not have Mail and Chat checked in Spotlight preferences)
    Thanks

    Hello I have the same problem and I don't think this behavior happened in Lion or Snow Leopard (at least for me). Although the Spotlight "Search Results" pane in my preferences excludes "Messages and Chats", every spotlight search from the finder windows also includes result from every attachment in every mail message. As a result, spotlight searches are barely useable. I found no solution. However, it looks like it was an old bug (since 2007 at least: see https://discussions.apple.com/message/5916605#5916605). Bug or bad decision -- the limit is hard to set between the two --  that reappeared in Mountain Lion.
    l.

  • Spotlight Search showing deleted emails

    After loaded IOS6 - now when I do a "Search Iphone" using spotlight search I see emails from my Gmail account that were COMPLETLY deleted over 3 weeks ago (about 10 of them). This occurs even AFTER COMPLETLY cleaning out ALL Gmail folders (which they were when I downloaded the update)
    How can I delete from this permanently search? Where could they be "hiding" on the Iphone..... Archive is shut of (and always has been). again ALL MY gmail folders are COMPLETLY empty.
    Tried deleting Gmail account from phone and did a power down and reboot AFTER deleting Gmail account from phone too! yes... cleared history & cookies in Safari too.

    I've been having the same problem with deleted emails showing up in Spotlight on iOS 6.0.2 (iPhone 5) so I did some experiments. (I'm using an IMAP account, not POP, and all my folders are on the server.)
    There are actually two different problems (three if you count people who don't check all their account folders so the message is just tucked away in a place they didn't think to look).
    The first problem occurs when you compose a message but don't hit Send, then hit Cancel, hit Save Draft, go back to the draft, and send it. Then you go to the Sent folder and delete the message and go to the Trash and delete it there. Now it doesn't show up anywhere in any account folder. But, if you go to Spotlight and search for something in the message, it will appear and you can bring it up and send it again. Mail is obviously squirreling away the draft in a place where it can't be deleted. Nothing short of a backup, reset, and restore will get rid of it.
    The second problem occurs when you delete a message from a folder and then go the Trash and delete it there. If you immediately go to Spotlight, you'll see a "ghost" message: it's in Spotlight but if you try to bring it up, you'll find it doesn't really exist and Mail either shows a blank message or shows the account folders. You can get rid of these "ghosts": press the Home button to see the home screen and then double-click the Home button to show the running apps, then press and hold on the Mail icon and click the '-' badge to quit Mail. Then if you go back to Spotlight and search again, they're gone.
    So there are two bugs: one serious and one that can be fixed by quitting Mail. And these are caused by real files being kept by Mail so using iErase or Zero Free Space to clear free space (by writing a huge file) has no effect. And, until Apple fixes the serious bug, never, ever, save a draft. (And if you do, you'll have to back up, reset, and restore.)

  • Can't see location of item with long name in Spotlight search?

    I can find the location of an item in a Spotlight search by selecting it and holding down the Command key, whereupon its position is displayed at the bottom of the Spotlight window.
    However, if the item has a long name, the location is "offscreen" as shown in the screenshot below.
    Is there any way of displaying it?

    Somebody in another forum told me it couldn't be done in Spotlight  but the word  "no"  must have kick-started my stubborn streak and I started hitting every other key I could find whilst holding down the command key to keep the incomplete location revealed.
    Eventually I struck lucky when I pressed Return (or Enter)  .  .  .  the window below opened and I was able to do a "Get Info" on the item to find its exact location.

  • In Lion, the spotlight no longer shows the path of a search. Can restore that?

    In Lion, the spotlight no longer shows the path of a search. Can I restore that?

    Hold down OPT CMD and it will display at the bottom.

  • When using spotlight search on my 5s it will not show past text messages that haven't even been deleted even if I type a specific word that I know is in a message I want to search for. I have message search turned on in the spotlight settings.

    When using spotlight search my phone will not show all text messages with a common word even though I have not deleted any messages from my phone and I have the message search turned on in settings under spotlight search. The search only shows the messages that are recent within the past day or so. Why won't it show the other messages when I search for them even using a specific word that I know was in the message I'm searching for.

    Hello ChiomaM,
    It sounds like you are not getting notifications for new text messages that are coming in, and you must manually check the app. I recommend checking the Notification settings to see if they are configured correctly:
    iOS: Understanding notifications
    http://support.apple.com/kb/ht3576
    iOS apps can provide three types of notifications:
    Sounds: An audible alert plays.
    Alerts/Banners: An alert or banner appears on the screen.
    Badges: An image or number appears on the application icon.
    You can view which apps provide notifications and adjust notification settings using Settings > Notification Center. For additional information, refer to the user guide for your device.
    Thank you for using Apple Support Communities.
    Regards,
    Sterling

  • When I do a Spotlight search I would like it to show which folder a file is in

    When I do a Spotlight search I would like it to show which folder a file is in

    Thanks for the response.  When I do a search on my PC the folders are all shown.  That is very helpful because I can sort by folder.  Is there no way to do this with my Macbook?

  • When i click on 'Show all in Finder' after searching for anything on spotlight, NOTHING happens! No Finder window opens up and the spotlight dropdown menu just shuts! Please help!

    When i click on 'Show all in Finder' after searching for anything on spotlight, NOTHING happens! NO Finder window opens up and the spotlight dropdown menu just shuts! Please help!

    I'm having the same problem in other places as well, for example when i downloaded Easyfind right now, clicking the small magnifying glass button on the right of the file name (shown below) would usually open up finder highlighting the file, but now nothing happens when i click on that button!
    Is there a solution for this, as this was a very useful feature which i used ALL the time?

  • I accidentally saved a URL using Chrome and I'd like to delete it from the iPad. I reset privacy settings in Chrome, but it shows up in Mail, Notes, etc. How do I get rid of this thing? Thanks.

    I accidentally saved a URL using Chrome and I'd like to delete it from the iPad. I reset privacy settings in Chrome, but it shows up in Mail, Notes, etc. How do I get rid of this thing? Thanks.

    it's only possible with pop3 type email accounts not with imap and exchange
    preference->account->click the account in question-Click advanced and set "remove copy from server after retreiving a message to what you wish it to be

  • Spotlight Search + Yahoo Mail

    I thought I read somewhere you could search emails not stored on your phone via Spotlight. I'm using Yahoo through the mail app and searching the servers with Spotlight, but getting no results returned. Does anyone have a solution/thoughts?
    --Chris

    Aha! I think I found the answer on this thread: http://discussions.apple.com/thread.jspa?messageID=6916612&#6916612
    I excluded my hard drive from the Spotlight search preferences and de-selected all the optional areas where it will search. Then I renamed my hard drive without any spaces (just "MacHD"). Then I went back into Spotlight preferences, included the newly named drive, and re-selected all the options. Spotlight re-indexed, and all my mail messages appeared in searches.

Maybe you are looking for

  • Problem with Adobe core update helper

    Every time I start Elements 13 it starts up Adobe updater core helper process. When I exit Elements it remains running and as long as it is running I can not start Elements again. I have to always manually terminate the process to restart Elements. A

  • Expanding my backup solution

    Hi I have recently upgraded my internal TimeMachine drive from 1TB to 2TB. Historically I have been taking a nightly backup of the TM drive to an external LaCie Rugged 1TB drive. I have two of these LaCie drives as I would swap them over weekly and s

  • Space after SGEN ?

    hi, i have ERP6 EHP4 with 60 GB in database , but after running the SGEN T-Code it was increased to 90 GB and the log file also increased to 48 Gb from 3 GB . my question is , is this normal of this much of space . if yes then it's ok if not then wha

  • Australian ABN in Customer Invoice Print out

    Hi, I am using the standard ByD Customer Print Out and everytime I print out, the two fields Our ABN and Your ABN are always blank. We have maintained the ABN of both our company and customer company under Financial Data/ Tax Data but somehow they do

  • How to upgrade version?

    I have a Powerbook G4 version 10.2.8 right now. I have not connected the computer to the internet in over a year. I want to update the version to a current version of the system so I can install ILife 06. What do I do? I have tried to download 10.3.8