On 15/04/2009, at 9:36 AM, Severin Crisp wrote:

Due to some unknown perturbation Mail needs all mailboxes rebuilt. As I have a complex hierarchical mailbox filing system, working thorough them all is offputting to say the least. Is there a way to do a blanket rebuild? Recovering from my TimeMachine backup is not an option, too many things have happened since I discovered this need.

Hi Severin,

Have you tried quitting Mail, deleting the Envelope file and restarting Mail. This forces a rebuild that produces a leaner, faster email experience.

" ~/Library/ Mail and drag the file Envelope Index to the Trash. When you launch Mail again, it’ll tell you that you need to “reimport” all your messages Let it do so—it’s recreating your envelope index from scratch, you won’t lose any data, such as labels or message status"

There is also a little App "VacuumMail 0.9.6" that can be used as a regular application or automated through the included LaunchAgent for use with Launchd.

<http://www.apple.com/downloads/macosx/email_chat/vacuummail.html>

"An AppleScript application that performs the “vacuum” command on Apple Mail’s underlying SQLite EnvelopeIndex database."

"VacuumMail is designed to be incorporated into an automated maintenance routine and run at regular intervals. This is the purpose for the Launch Agent included in this install package. The Launch Agent utilizes Apple’s launchd process to schedule regular vacuuming of Mail using VacuumMail."

Cheers,
Ronni
-- The WA Macintosh User Group Mailing List --
Archives - <http://www.wamug.org.au/mailinglist/archives.shtml>
Guidelines - <http://www.wamug.org.au/mailinglist/guidelines.shtml>
Unsubscribe - <mailto:wamug-unsubscr...@wamug.org.au>