Applies to: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1, Exchange Server 2007
Topic Last Modified: 2007-09-05

This topic explains how to use the Exchange Management Console or the Exchange Management Shell to enable or disable sender filtering functionality. The Sender Filter agent is an anti-spam filter that is enabled on computers that have the Microsoft Exchange Server 2007 Edge Transport server role installed. The Sender Filter agent relies on the MAIL FROM: Simple Mail Transfer Protocol (SMTP) header to determine what action, if any, to take on an inbound e-mail message.

When sender filtering functionality is enabled on a computer, sender filtering functionality filters all messages that come through all Receive connectors on that computer.

Note:
By default, the Sender Filter agent is not installed on the Hub Transport server. For more information about installing and running the Sender Filter agent on the Hub Transport server, see How to Enable Anti-Spam Functionality on a Hub Transport Server.

Before You Begin

To perform the following procedures on a computer that has the Edge Transport server role installed, you must log on by using an account that is a member of the local Administrators group on that computer.

Also, before you perform these procedures, confirm the following:

Procedure

By default, sender filtering functionality is enabled on the computer that has the Edge Transport server role installed for inbound messages that come from the Internet but are not authenticated.

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

To use the Exchange Management Console to enable or disable sender filtering

  1. In the Exchange Management Console, click Edge Transport.

  2. In the work pane, click the Anti-Spam tab, and then select Sender Filtering.

  3. In the action pane, click Enable or Disable as appropriate.

To use the Exchange Management Shell to enable or disable sender filtering

  • To enable sender filtering, run the following command:

    Copy Code
    Set-SenderFilterConfig -Enabled $true
    
  • To disable sender filtering, run the following command:

    Copy Code
    Set-SenderFilterConfig -Enabled $false
    

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

For More Information