Over at Rixstep , the blogger is in a fiesty mood. But in the midst of his claims about “a lot of buggy code in Mail.app” and how “Apple never respond with fixes”, he does raise a good point.
Snow Leopard, and Leopard before it, are not every good at deleting draft emails.
Its auto-save function leaves orphaned messages behind in its cache that are not registered in your Drafts folder (or on your IMAP server).
You can try this out for yourself.
First check your Drafts folder in Apple Mail and make sure that it looks empty.
Then open up your ~/Library/Mail folder, navigate to the Draft folder of your email account and open up the “Messages” folder. Although the folder shows iteslf empty in mail.app, in fact there are lots of auto-saved drafts in there!
Now if you are security conscious, or your work has particularly strict data management policies, then this is clearly a bad thing.
Otherwise, it’s just an annoying thing. They don’t do any harm but, still, Mail.app should be smarter than that.
Fortunately, the solution recommended by Rixstep–”you’ll have to go to the command line regularly to remove the orphans”–is not the only option.
There is a much easier way.
To remove the ghosts all you have to do is highlight the Drafts folder in Mail’s list of mailboxes on the left, and then select the Rebuild option from the Mailbox menu.
Poof! They’re gone.
Well, they are gone for the moment. You will need to do this again and again if the bug troubles you. And that’s the annoying part.
To make sure that is worked for you, you can check back in the Drafts folder of your Mail folder.
Mine looks good:
mail.app, apple mail, bugs, tips, imap, hopper, drafts, annoyances
, Apple Mail
, apple mail tips