VACUUMing your mail.app with SQLite
Via BoingBoing and Cory Doctorow (who switched to Ubuntu from Mac OS X), a speedup tip for mail.app – pretty easy and fast.
- Close mail.app
- Backup your mail
- Open a terminal window
- Go to your mail directory with cd ~/Library/Mail
- Start SQLite (which is installed by default) with sqlite3 Envelope\ Index
- Clean up your mail DB with vacuum subjects;
- Wait for the sqlite prompt to reappear
- Exit SQLite with ctrl-D
- Open mail.app again and enjoy the improved speed!