Fixing email search in El Capitan
We're going to file this under "pedestrian blog posts just so I don't forget how I did something in the past."
The Problem
When I upgraded my computer (from Mountain Lion!) to El Capitan, everything went relatively smoothly except that I lost the ability to actually search my email in Apple's included Mail program. There were a number of suggestions I found online, many of which I tried, but the one that actually made the difference was to re-index my machine.
The Solution
The first thing I tried to do was to just erase and re-index my hard drive with:
$ sudo mdutil -E /Volumes/Macintosh\ HD/
but this gave me a "Indexing disabled." message. The normal way of handling this is to add your entire hard drive to the "Privacy" tab in the Spotlight settings, but this did not seem to work. Fortunately, I know how to read nerd and did the following in a shell:
$ mdutil
Usage: mdutil -pEsa -i (on|off) -d volume ...
mdutil -t {volume-path | deviceid} fileid
Utility to manage Spotlight indexes.
-p Publish metadata.
-i (on|off) Turn indexing on or off.
-d Disable Spotlight activity for volume (re-enable using -i on).
-E Erase and rebuild index.
-s Print indexing status.
-t Resolve files from file id with an optional volume path or device id.
-a Apply command to all volumes.
-V vol Apply command to all stores on the specified volume.
-v Display verbose information.
NOTE: Run as owner for network homes, otherwise run as root.
$
OK, so this is good. There's a flag I can pass to the mdutil program to have it turn on and off indexing for a particular volume.
$ mdutil -i on /Volumes/Macintosh\ HD/
/:
Indexing enabled.
$
Excellent progress! This time, running the "mdutil -E" command above actually kicked off the re-indexing process. It took a little while, but once it was done, search was restored to my Mail program.
Good luck with your mail woes!
- Citi Prestige and Global Entry
- morning on the subway
- Fixing email search in El Capitan
- A Relative Calm
- Sand in My Book Jacket
- Removing the a PDF password on a Mac
- Happy New Year
- It’s Complicated
- I <3 Times Square
- Relearning How To Play
- The (Un)remarkable Big Green Balloon
- A High Line For Me, Not You
- The Sneakiest Ryanair Fee
- Delight in an Animated GIF
- London Bike Share: An American’s Guide
- Shoebox Full of Photos: Listen to my SXSW Talk
- Travel Pro-Tip: Send Customized Postcards
- An American Geek In London: Mobile Data on the Road
- 3 Simple Rules for Better Meetings
- The Kindle: Not a Book, but a Massive Portable Library
- The Need For an Open Online Identity Infrastructure
- How SOPA Will Break the Internet
- Writing the Perfect Job Description
- The Simple Joy in Making
- Installing image_science on OS X with Homebrew
- SXSW 2012, Here I Come
- A Chrome Extension to Block Your Distractions
- Visiting the City Museum in St. Louis
- Why Lion’s “reversed” scrolling feels so weird
- Benjamin Franklin: Maker, Hacker
- Who hosts that site? (a bash alias)
- Leaving Behind a Digital Life, Physically
- Programmers! Feeling Uninspired? Try Teaching.
- Paranoia and the Cloud: Why hasn’t our data been more at risk?
- Smile, Darn Ya, Smile (or, Why I Work)
- Lion Launchpad = Windows 3.1 Program Manager?
- On Hiring Exceptional People
- How to Run Tornado in WSGI Mode on DotCloud
- On business cards (or, why I don’t use Hashable)
- On converting from single-AZ RDS to multi-AZ RDS
- 3 Rules for a Successful SXSW
- on giving up
- on skating
- Ten. Years.
- Happy things
- Stumbling forward
- French fries make the man
- The places we go, when we aren’t going anywhere
- Dear Dollar Rent A Car (a complaint)
- Work-life vs. home-life
- A quarter for your troubles
- We recycle around here. Not!
- Stranger than Angels
- Complaints on an industry that probably doesn’t need more grief
- Shutting it down
- 2006: A Summary
- A year of significance
- Make your own luck
- Man of the Year: a movie review
- Port Authority and the Bus to Pittsburgh
- BarCampNYC2: Reflections, etc.
- lonelygirl15
- What’s in a sound?
- Open Source: Not actually that ugly
- On Being American
- Irony, defined
- From Point A to Point B
- Migrating from Blogger to WordPress
- The role of family
- The complexities of modern life
- The sounds of silence
- Tools of the Trade
- Too many choices, too little skin
- What do we have here?
- How I Fixed My Raid-1 Partition Size Error