Exporting rules from Mail.app

The title pretty much says it all. My copy of Mail.app on the PowerBook (Panther) has an extensive collection of rules that I developed over one and a half year of usage. I’ve manually set up accounts on my copy of Mail.app on the iMac (Tiger), but I’d like to avoid copying rules by hand, one by one.

Is there a file that contains the rules that I might copy over?

5 Responses to “Exporting rules from Mail.app”


  1. 1 Erik Abele

    There’s a file called MessageRules.plist in your ~/Library/Mail directory. Copy this one over to the same place on another OS X account and you should be fine. But be sure to keep the same folder structure in Mail.app so that the rules know in which folder to route the msgs.

    Hope that helps… (10.4/Tiger only)

  2. 2 ugo

    There’s a MessageSorting.plist file in Panther whose contents seem to be a subset of Tiger’s MessageRules.plist. I might try to do a copy&paste operation and see if it works.

  3. 3 Barrett

    The MessageSorting.plist and MessageRules.plist do not seem to include any of the filter rules. The suggestions above do not work.

  4. 4 Dan Efergan

    When I checked the two plist files (MessageSorting.plist (10.3 earlier) and MessageRules.plist (10.4) there was information about the rules.

    Looking at the two sets the only difference I could see was the addition of an extra data set. By adding this the latest version seemed to import the rules fine.

    You need to wrap the content in a new tag with two new .

    The header was updated to (two new lines at the bottom):

    rules

    And then at the bottom of the file,
    version
    18

    replaced the single:

    Just noticed the date’s on this post, so I’m guessing people have already sorted this one. But in case it’s useful to anyone.

  5. 5 Dan Efergan

    (Sorry, the above tag’s got cleaned out of the comments parser, so the posts not so useful anymore. But compare the two files, and you’ll see the addition needed)

Leave a Reply