Enable or Disable Recipient Filtering

Applies to: Exchange Server 2010

When recipient filtering functionality is enabled, it filters all messages that come through all Receive connectors on that computer. By default, recipient filtering is enabled on the computer that has the Edge Transport server role installed for inbound messages that come from the Internet but aren't authenticated. These messages are handled as external messages.

Note

The Recipient Filter agent is the underlying agent for recipient filtering functionality. It's important to understand that when you perform the following procedures, recipient filtering functionality is enabled or disabled, but the underlying Recipient Filter agent is still enabled. To disable the underlying Recipient Filter agent, run the Disable-TransportAgent cmdlet.

Looking for other management tasks related to anti-spam and antivirus features? Check out Managing Anti-Spam and Antivirus Features.

Prerequisites

Use the EMC to enable or disable recipient filtering

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Anti-spam features" entry in the Transport Permissions topic.

  1. Open the EMC on the Edge Transport server.
  2. In the console tree, click Edge Transport.
  3. In the work pane, click the Anti-spam tab, and then select Recipient Filtering.
  4. In the action pane, click Enable or Disable as appropriate.

Use the Shell to enable or disable recipient filtering

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Anti-spam features" entry in the Transport Permissions topic.

This example enables recipient filtering.

Set-RecipientFilterConfig -Enabled $true

This example disables recipient filtering.

Set-RecipientFilterConfig -Enabled $false

For detailed syntax and parameter information, see Set-RecipientFilterConfig.