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.

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

To use the Exchange Management Shell to configure the rejection response

  • Run the following command:

    Copy Code
    Set-ContentFilterConfig -RejectionResponse <AsciiString>
    

    For example, to set the rejection response to "Message Rejected", run the following command:

    Copy Code
    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