Enable or Disable a Transport Rule

 

Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2

The Transport Rule agent must be enabled before you can apply transport rules to e-mail messages that enter and leave a Hub Transport server. The Edge Rule agent must be enabled before you can apply transport rules to messages that enter and leave the Edge Transport server. You can run the Get-TransportAgent cmdlet on both the Hub Transport server and Edge Transport server to determine whether the Transport Rule agent or Edge Rule agent is running on the respective server role.

To temporarily stop the Rules agent on a Hub Transport server or the Edge Transport server from executing a transport rule, you can disable the rule.

When you enable or disable transport rules on a Hub Transport server, the modified transport rule is replicated across the Exchange 2007 organization to all the Hub Transport servers. When you enable or disable transport rules on an Edge Transport server, the modified transport rule is modified only on the local Edge Transport server.

Looking for other management tasks related to transport rules? Check out Managing Transport Rules.

Prerequisites

One or more transport rules must exist.

Disable a Transport Rule

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Transport rules" entry in the Messaging Policy and Compliance Permissions topic.

Use the EMC to disable a transport rule on a Hub Transport server

  1. Open EMC on the Hub Transport server on which you want to disable a transport rule.

  2. In the console tree, click Organization Configuration, and then click Hub Transport.

  3. In the result pane, click the Transport Rules tab.

  4. Right-click the transport rule that you want to disable. Click Disable Rule.

Use the EMC to disable a transport rule on an Edge Transport server

  1. Open the EMC on the Edge Transport server on which you want to disable a transport rule.

  2. In the console tree, click Edge Transport.

  3. In the result pane, click the Transport Rules tab.

  4. Right-click the transport rule that you want to disable. Click Disable Rule.

Use the Shell to disable a transport rule

Run the following command:

Disable-TransportRule "TR-Project Hamilton"

Enable a Transport Rule

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Transport rules" entry in the Messaging Policy and Compliance Permissions topic.

Use the EMC to enable a transport rule on a Hub Transport server

  1. Open EMC on the Hub Transport server on which you want to enable a transport rule.

  2. In the console tree, click Organization Configuration, and then click Hub Transport.

  3. In the result pane, click the Transport Rules tab.

  4. Right-click the transport rule that you want to enable. Click Enable Rule.

Use the EMC to enable a transport rule on an Edge Transport server

  1. Open the EMC on the Edge Transport server on which you want to enable a transport rule.

  2. In the console tree, click Edge Transport.

  3. In the result pane, click the Transport Rules tab.

  4. Right-click the transport rule that you want to enable. Click Enable Rule.

Use the Shell to enable a transport rule

Run the following command:

Enable-TransportRule "TR-Project Hamilton"

Other Tasks

After you disable or enable a transport rule, you may also want to:

 © 2010 Microsoft Corporation. All rights reserved.