having some search/index problems with Mail app on old Mac OS.

How can I put ~/Library into spotlight privacy (in order to not index) except ~/Library/Mail

Mac OSX 10.8

at the moment I just explicitly select all folders but Mail under Library into Spotlight privacy part. Not so nice...

  • What Mac OS version? What have you already tried?
    – fsb
    Nov 18, 2018 at 15:04

2 Answers 2


Another workaround.. move Mail folder out of Library and use symbolic link then I can just add ~/Library into spotlight privacy part

$ mv ~/Library/Mail ~/Mail
$ ln -s ~/Mail ~/Library/Mail

index/search in Mail app will work.


I don't think it's possible. You could just exclude all Library folders except Mail.

  • ja, but I have to add new folder in case I install new other applications..
    – elgcom
    Nov 18, 2018 at 15:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .