MacOS – Migrating Mail.app rules from 10.6 to 10.8

macosmail-rulesmail.app

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!

Best Answer

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.