Improving Apple Mail performance

If you regularly use Apple Mail as I do, and you have thousands of mails stored, you will notice that mails may take a few seconds to load, particularly old ones. In my case, I have around four thousand mails, with a envelope database of about 8Mo.

There is a solution (found via Hawk Wings) which involves a bit of Terminal usage that will boost your Apple Mail, and it will reduce the used diskspace as well. The speediness was noticeable in my case, and diskspace was reduced at about 5Mo.

First of all, quit Mail, open a Terminal, and change the directory to Library/Mail:

daniel:~ daniel$ cd Library/Mail

Then, open the Mail sqlite3 database issuing the following command:

daniel:~/Library/Mail daniel$ sqlite3 Envelope Index

Rebuild the subjects database and exit:

SQLite version 3.1.3
Enter ".help" for instructions
sqlite> vacuum subjects;
sqlite> .quit

You may open Mail now and see if it has improved the performance for you.

For those of you afraid of deleting your mails, here is what the vacuum command does: http://www.sqlite.org/lang_vacuum.html



 


Trackback

Trackback URL for this entry:
http://www.gra2.com/trackback.php/improving-apple-mail-performance

No trackback comments for this entry.

Comments

Post a comment

Yes, it worked for me!
From a database size of 30M with pop and imap accounts, I got to 10M and now it seems much faster.

Lucian

Anonymous on Friday, March 02 2007 @ 04:30 PM CET Reply | #

Search



About

newton.gra2.com is a blog about technology, opinion and random thoughts written by Daniel Alvarez, a computer engineer currently living in Zurich, Switzerland.

Topics

News (20/0)
Manuals (24/0)
Security (7/0)
Music (3/0)
Weeklog (1/0)
Personal (34/0)
Photos (3/0)
Opinion (14/0)
Windows (5/0)

Blogroll

Pros i contres (Jordi)
Entrepa de fusta (Oriol)
Spaghetti Code (Isaac)
Made in net (Eric)
Nogare (Juan)
Blog de Isaac Jimenez
Web d'en Jaume Benet
Montcada Wireless (Fran)
Blog d'en Ricard Forniol
Angela Fabregues
in.solit.us

Libertad Digital
FOX News
The Wall Street Journal
The Washington Times
The Jerusalem Post

Michelle Malkin
Eurabian News
Nihil Obstat
Barcepundit
Expose the left
Davids Medienkritik
Johan Norberg
Ayaan Hirsi Ali

User Functions

:

:


Lost your password?

Latest posts

Stories

No new stories

Comments last 2 days

No new comments

Trackbacks last 2 days

No new trackback comments

Links last 2 weeks

No recent new links