Creating and Administering Transport Rules
The GUI for managing Transport Rules exists within the Exchange
Management Console (EMC) and really resembles the Outlook Rules
Wizard making it rather easy to learn. On a Hub Transport
server, there is a Transport Rules tab in the Hub Transport
properties of the Exchange Organization folder, as shown in
Figure 1. This basic scenario shows 3 Transport Rules. The same
3 rules are visible through the Exchange Management Shell seen
in Figure 2.
Figure 1
Figure 2
Creating a rule through the EMC is very simple. Like the Outlook
Rules Wizard, message Transport Rules follow a logical creation
path. If certain conditions are present in the message, then
perform specific actions unless certain exceptions apply. Figure
3 shows an example of subject line manipulation based on a
sender domain.
Figure 3
Exchange Management Shell also has many Cmdlets for
administering Transport Rules. The "action" portion of the
commands are self-explanatory:
-
Get-TransportRule
-
Set-TransportRule
-
New-TransportRule
-
Enable-TransportRule
-
Disable-TransportRule
-
Remove-TransportRule
Transport Rules can also be exported to XML and imported from
the command line. More information on composing proper Exchange
Management Shell cmdlets for Transport Rules can be found in
Technet at
http://technet.microsoft.com/en-us/library/bb125136.aspx.
Other Features
Rules can be based on a number of items, including internal
versus external messages, header items, message body content,
and sender or recipient information. The Hub Transport Rulesets
are very valuable for compliance. All messages must go through a
hub transport server, and therefore all messages can have rules
applied to them. As such, administrators can maintain solid
control of messages for archiving or establishing ethical walls
internally (for example, the accounting personnel may be
prohibited from emailing the plant workers or vice versa). There
is a limit of 1000 Transport Rules in an Exchange organization;
however, this limitation is simply the threshold Microsoft
tested up to and therefore supports.
Message Transport Rules are one of the most relevant areas of
improvement for Exchange Server 2007. Tasks that were daunting
in previous versions, yet menial in competing products, now have
a quality solution with multiple interfaces and granular
control.
-- William Lefkovics