Outlook saves its client-side rule definitions in a binary blob in a hidden message in the Inbox folder of the default store for a profile. The hidden message is named "Outlook Rules Organizer" with a message class IPM.RuleOrganizer
. The binary blob is saved in property 0x6802. The same binary blob is written to the exported RWZ file when you manually export the rules through the Rules and Alerts Wizard.
Has anyone deciphered the layout of this binary blob?
Client-only rules are rules that run only on your computer. These are rules that run in Outlook instead of on the Exchange server. Client-only rules can only run when Outlook is running.
Click the File tab. Click Manage Rules & Alerts. Click Run Rules Now. In the Run Rules Now dialog box, under Select rules to run, select the check box next to each rule that you want to run.
As already mentioned, rule types can be either server-side or client-only. The rule type is determined by the conditions and actions defined upon rule creation. For example, if you define an action Permanently delete it or Mark it as read in your Outlook rule, the rule will be client-only.
Client-only rules are stored within your pst/ost file or in . rwz files with the name of your profile. Since Outlook 2003, client-only rules are stored in the pst/ost file, not rwz files. So if you make a backup of your pst-file, you automatically have a backup of your rules too.
I had exactly the same problem, so I spent a (too) long time looking into the format.
I developed a library https://github.com/hughbe/OutlookRulesReader that contains a specification and reference implementation library (in Swift) for reading and writing Outlook Rules Files
A full description of the format can be found here
Hmmm, that is a tough one...
Here's the server side rules protocol
According to this cryptic affair it looks as though you'll probably need to spend some time in Reflector as well...
Ah, these look closer to the mark and promising, give them a look:
Description of programming with Outlook rules
How to use the Rule.dll sample to create an inbox rule in Visual Basic
In general, Microsoft is explicitly saying it hasn't kept the documentation up on the rules in the last two versions and so the caveats...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With