Distributing Rules to Outlook 2003 and 2007 clients

exchangeoutlook

Is there a way to distribute a client-only rule to Outlook 2003 and 2007 clients?

We'd like a way for to have emails from corporate communications generate a desktop alert or perhaps be flagged for followup automatically. It would need to be deployable centrally using Active Directory or Exchange.

My first thought was group policy, but apparently Outlook rules aren't part of what you can control using group policy.

Has anyone implemented something similar?

Best Answer

There are several ways to do this, presuming you want to create rules on the server so that they run even when the user's Outlook isn't active.

  • you can use the rule.dll component of the Exchange 5.5 SDK. It's really, really old, and the rules you create won't be visible or manageable through Outlook-- that may or may not be what you want.
  • the Outlook 2007 object model has tools for creating and managing rules, but it only works with Outlook 2007. However, the created rules will work no matter what version of Outlook the user runs.
  • the Outlook Redemption library includes a set of APIs for managing rules. Redemption is commercial software, but it's much easier to use than rule.dll. The author provides excellent support, and the library itself is pretty easy to use.

To deploy this centrally, your code would need to log on to a user's mailbox and create the rule; you'll also need a way to enumerate all of the mailboxes and do a few other housekeeping tasks. Should be a nice weekend project!