Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I want to move my Mail.app filtering rules from my old 10.6 machine to a fresh 10.8 install. I've seen people talking about moving these by copying over MessageRules.plist, but I haven't seen anyone address whether these are compatible between 10.6 and 10.8. Thanks!

share|improve this question
add comment

2 Answers

I copied all of the user-created <dict>...</dict> items from my old MessageRules.plist and added them to:

~/Library/Mail/V2/MailData/UnsyncedRules.plist

When I launched Mail.app again, they were in my rules, but disabled. One click on each and they ran fine.

Note: Simply replacing the entire set of <dict>...</dict> items in UnsyncedRules.plist will not work. You must add them into the current set of items in order for it to work properly.

share|improve this answer
    
I also had to make various edits because the folder references needed to be changed to reflect new paths with V2. It helped to make a dummy rules refiling to subfolders in each of my accounts, so that I could see how they should look. –  Joshua Goldberg Jun 11 '13 at 18:02
add comment

For all those who tried copying the MessageRules.plist file over from 10.6 to 10.8 and got nothing here's what I did to get them working.

Essentially copy all the rules via copy/paste from MessageRules.plist (10.6) to SyncedRules.plist (10.8) - use a text editor to copy and paste everything from the </array> tags in the old file to the new one. Then restart Mail.

Longer version: Copy MessageRules.plist from Users>User>Library>Mail> on your 10.6 machine to anywhere your 10.8 machine. Open up the file in a text editor and copy everything between the <array></array> Tags. Then paste it all in the file SyncedRules.plist on your 10.8 machine in Library>Mail>V2>MailData inbetween the<array> tags. Restart the Mail app and all the rules should show up in preferences section.

Mail will slowly even create the folders/mailboxes to store the messages in folders that don't exist but are pointed too in your rules that you imported.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.