Resolved Question

How to export and import Mail preferences?

Is it possible to export the preference settings from Mail so that they can be imported into a new setup? I especially want my Rules saved because they are so extensive - the rest don't matter too much.

Discussion is locked
fosterpapillon has chosen the best answer to their question. View answer
Follow
Reply to: How to export and import Mail preferences?
PLEASE NOTE: Do not post advertisements, offensive materials, profanity, or personal attacks. Please remember to be considerate of other members. If you are new to the CNET Forums, please read our CNET Forums FAQ. All submitted content is subject to our Terms of Use.
Reporting: How to export and import Mail preferences?
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Comments

Best Answer

- Collapse -
Time Machine is your friend here

You can restore everything to do with mail using the wonders of time Machine.

Just go back in time to the date you want and restore all the mail settings and preferences.

Should be good to go after that

P

- Collapse -
How exactly do I do that?

I can't replace the Mail app from Time Machine - all I get is an error message saying the OS needs Mail and I can't delete or replace it. If I enter TM from within Mail, all I can do is recover mailboxes - I don't see a way to access the preferences.

- Collapse -
Open you Library

the one in your Home folder, and find the Mail folder and open it.
Mail should be closed at this point

Open Time Machine, this should show you the same thing.

Go from there

P

- Collapse -
That doesn't work for me.

I did the following:

Open Mail preferences and enter a new rule.
Quit Mail.
Run a Time Machine backup.
Open Mail and remove the new rule from its preferences.
Quit mail and restore as above from the minutes-old backup.
Open Mail and check the preferences.

And the new rule is NOT there. So the TM backup does not appear to have restored the preferences. Can you please see if you can verify this?

- Collapse -
Unable to check right now but,
- Collapse -
Now V5, not V3

Your URL contains this snippet:

"What worked here was to go back to an earlier version of the ~Library/Mail/V3/MailData directory (note that it is in the V3 directory-- not the V2 directory)."

In fact, in OS10.13.4, the folder is in V5. There is also a MailData folder in V2 but it contains only the Accounts.plist file. I'm sure they make these changes just to keep us mystified.

I'll check out the effect of restoration of the folder.

- Collapse -
Nope, that didn't work either

I'd be grateful if you could give it a try when you have a moment to spare.

CNET Forums