Enable or Disable Sender Filtering
Applies to: Exchange Server 2010
The Sender Filter agent is an anti-spam filter that is enabled on computers that have the Microsoft Exchange Server 2010 Edge Transport server role installed. The Sender Filter agent relies on the MAIL FROM: 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.
Looking for other management tasks related to anti-spam and antivirus features? Check out Managing Anti-Spam and Antivirus Features.
Prerequisites
- Review Understanding Anti-Spam and Antivirus Functionality to understand the general strategy for configuring all anti-spam agents so that they work together efficiently for your organization.
- Read Understanding Sender Filtering.
Use the EMC to enable or disable sender 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.
- Open the EMC on the Edge Transport server.
- In the console tree, click Edge Transport.
- In the work pane, click the Anti-Spam tab, and then select Sender Filtering.
- In the action pane, click Enable or Disable as appropriate.
Use the Shell to enable or disable sender 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 sender filtering.
Set-SenderFilterConfig -Enabled $true
This example disables sender filtering.
Set-SenderFilterConfig -Enabled $false
For detailed syntax and parameter information, see Set-SenderFilterConfig.