For my future reference. Taken from hawkwings.net
Get a considerable speed increase in Mail.app (and if you’re lucky, a smaller mailbox size as well) by performing certain Terminal commands.
- Quit
Mail.app - fire up
Terminal - Do/type the following:
$ sqlite3 ~/Library/Mail/Envelope\ Index vacuum .exit
If for some reason the single line method won’t work, then do the following instead
$ cd ~/Library/Mail $ sqlite3 Envelope\ Index sqlite> vacuum subjects;
- Press Control-D to exit
Terminal.
In case you didn’t know, the $ is your shell. Again Mail.app should NOT be running when you do this! 1 Never tried doing it with Mail.app running, so I can’t say what will happen if you do – but I personally don’t want to even try to find out. It’s also good practice to back up your ~/Library/Mail folder just in case. You have been warned
Notes
| ⇡1 | Never tried doing it with Mail.app running, so I can’t say what will happen if you do – but I personally don’t want to even try to find out. |
|---|
