HOWTO: restore Mail.app content indexing

less than 1 minute read

Mail is a great mail client provided with OSX. It works very well, fully integrated and fast. Sometimes it goes crazy and doesn’t indexing mails’ content with the impossibility to perform research based on it.

After some research over the web, the problem is in “spotlight”. Yes, unlike subject, from and to fields, the content is indexed by spotlight.

To solve this issue, open a Terminal and type these commands:

$ sudo mdutil -i off "/Volume/where/is/Mail"  
$ sudo mdutil -i on "/Volume/where/is/Mail"  
$ sudo mdutil -E "/Volume/where/is/Mail"

According to mdutil’s man page, latest command set the indexing content as “Erased” and will be rebuilt.

Any trouble? Shoot a comment :)


Tags: ,

Categories: ,

Updated:

Leave a Comment