On OS X 10.8.3, in Mail, is there a way to change the account folder that the "Archive" button sends the mail messages to?
For example, on GMail it should go into "All Mail".
2 Answers
I found the answer here.
- Close Mail;
- Go to
/Users/<username>/Library/Mail/V2/MailData/
; - Edit
Accounts.plist
(make a backup just in case); - Find the key-string pair:
<key>ArchiveMailboxName</key>
<string>Archive</string> - Change the
<string>
tag value to your desired archive folder name, e.g.[Gmail]/All Mail
orAll Mail
depending on your account folder naming scheme. - Save the file;
- Reopen Mail
The Archive folder(s) will now apear with their own icon on the left pane and not as regular folders.
You can also add an archive button to the toolbar.
-
Make sure to do this to correct account. The first archive mailbox name listed may be for the local account or some other account. You can verify the account name by searching for the AccountName key in the dict block.– seq3Commented Mar 6, 2017 at 23:23
And if you'd like to turn off archiving all together, setting this string to "NO" seems to work
<key>HasServerDefinedArchiveMailbox</key>
<string>NO</string>
Be aware, a program update from Apple might undo these changes.