Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

July 31, 2008 12:00 AM

Journaling and Transport Rules in Exchange 2007

Windows IT Pro
InstantDoc ID #99901
Rating: (0)

During a recent webcast I did, an attendee asked a question that I hadn't thought of before: What are the essential differences between Exchange Server 2007's journaling rules and transport rules? If you're not familiar with the various kinds of rules that Exchange 2007 implements, these might seem fairly similar—but there are actually significant differences between what these two types of rules can do and how you implement them.

Let's start with journaling rules, which are fairly easy to understand even though there's no counterpart to them in earlier versions of Exchange. A journaling rule specifies three things:

  • The recipient or recipients to which it applies. Think of this part as the targets whose mail will be journaled, whether the target is specified as an individual account or as a group.
  • The scope, which indicates how widely the rule should be applied. Journal rules can have one of three scopes: Internal (for messages sent and received within the Exchange organization); External (for messages that are sent to external recipients, or received from external senders); and Global (for all messages sent or received from inside or outside the organization).
  • The destination where the journaled mail should be sent. This can be an Exchange mailbox, as in previous versions of Exchange, or it can be an external SMTP address—a new feature that makes it much easier to tie Exchange to third-party archival systems.

Journaling rules are run on the Hub Transport role; they're automatically propagated to all of the Hub Transport servers in the organization. There's one twist you should be aware of: Per-user journaling (the ability to turn journaling on or off for individual users instead of for all users in a given mailbox store) is available only for mailboxes for which you've bought an Exchange Enterprise CAL.

Transport rules are quite a bit different. The Exchange 2007 transport rule mechanism provides a general-purpose way to inspect messages at the Hub Transport server and take action based on the sender, recipient, or content of the message. Transport rules have three parts:

  • Conditions—identifies the messages to which the rule should apply
  • Exceptions—specifies which messages should be exempted from the rule, even if the message in question matches a rule condition
  • Actions—specifies what the rule should do to messages that match all conditions in a rule but don't match any rule exceptions

You can combine multiple instances of each of these three items in a single rule. For example, you could create a transport rule that would bounce any message sent to the company's law firm that doesn't originate from a member of the Legal organizational unit, and include a custom delivery status notification that explains why the message bounced. You can also use transport rules for mundane tasks such as adding disclaimers, copying messages sent from or to certain addresses for archival purposes, and so on. Rules can fire based on a wide variety of criteria, including familiar patterns such as Social Security numbers or customer IDs. You can also use UNIX-style regular expressions to specify arbitrary patterns to match. There's even a mechanism for writing your own transport agents that can inspect and modify messages, but it's fairly complex.

There are two types of transport rules: Hub Transport rules are stored in Active Directory and are run on all Hub Transport servers in the organization; Edge Transport rules are specific to an individual Edge Transport server and run only on that server—they aren't automatically replicated or shared. Because you can create and manage transport rules with Windows PowerShell, you can easily write a script that creates a consistent list of transport rules on all of your Edge Transport servers if you need to.

Both journaling and transport rules are quite powerful—and a big step up from the functionality available in previous Exchange versions. Learn to use them effectively, and you'll be able to easily manage how messages move through your Exchange system.

Related Content:

ARTICLE TOOLS

Comments
  • Bigwil
    5 months ago
    Sep 23, 2011

    This is a good article. It re-iterated what I read in MS Exchange 2K7 SP1 book by Tony Redmond. One thing neither this article or the book describes how to verify if journaling is working correctly. That would be extremely helpful.

    Thanks for the article.

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.