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:
- You have reviewed 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.
- You have read Configuring Content
Filtering.
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
For more information about how to configure content filtering, see the following topics:
- Configuring
Content Filtering
- Set-ContentFilterConfig
- How to
Enable or Disable Content Filtering
- How to
Specify a Spam Quarantine Mailbox
- How to
Enable and Configure the Spam Confidence Level Thresholds
- How to
Enable or Disable Outlook E-Mail Postmark Validation
- How to
Configure Allow or Block Phrases for Content Filtering
- How to
Specify Recipient and Sender Exceptions for Content
Filtering