How to Configure the Rejection Response for Content Filtering
Applies to: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1, Exchange Server 2007
Topic Last Modified: 2006-08-10
This topic explains how to use the Exchange Management Shell to configure the rejection response for content filtering. When the spam confidence level (SCL) reject threshold is exceeded, the Content Filter agent does not accept the message and sends a rejection response during the Simple Mail Transfer Protocol (SMTP) transaction. The rejection response is an SMTP response from the Edge Transport server to the sending server. The SCL reject action must be enabled for the rejection response to be sent. The default rejection response is "Message rejected due to content restrictions."
For more information about how to enable the SCL reject action, see How to Enable and Configure the Spam Confidence Level Thresholds and Set-ContentFilterConfig.
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:
Run the following command:
Set-ContentFilterConfig -RejectionResponse <AsciiString>
For example, to set the rejection response to "Message Rejected", run the following command:
Set-ContentFilterConfig -RejectionResponse "Message Rejected"
Note: Do not exceed 240 characters in the argument.
For detailed syntax and parameter information, see Set-ContentFilterConfig.
For more information about how to configure content filtering, see the following topics: