940 Views 5 Replies Latest reply: Dec 30, 2008 3:54 PM by Mulder
If you want to back up Mail preferences, the best thing to do is backup your entire disk, not just certain files. The preferences file you're looking for is com.apple.mail.plist and is located at ~/Library/Preferences. The other files you need are all in ~/Library/Mail, and that includes all your mail messages, too.
thanks for reponse.
I have an entire disk backup on-site (time machine on external hard drive).
I also effectively have my mail backed up up offsite since I use imap accounts.
What I want now is offsite backup of mail settings & prefs but not email itself (since I already have that).
In ~/Library/Mail I don't know which files I need to include/exclude, in particular with regard to settings for assignment of special imap folders (for my several imap accounts)
I don't know which files I need to include/exclude, in particular with regard to settings for assignment of special imap folders (for my several imap accounts)
That all depends on what is in that directory. I presume you have a folder there named Mailboxes, and if you look inside it and see the names of your IMAP mailboxes, that is definitely something you need to backup.
You should also look inside the folders for each of your accounts to see if any of those folders you created are listed in there; if they are, you need that entire mailbox structure.
I can see the imap account folders. They each contain several .imapmbox folders which each contain a single info.plist file as well as messages and attachments (subfolders). It seems to me that I should backup everything in ~/Library/Mail excluding the messages and attachments subfolders of the imap mailboxes.
However, for the imap accounts, I am still unclear which file contains the settings that I assigned through mailbox -> use this mailbox for-> drafts/sent/trash/junk. Is this not written to a single file?