How to Configure Allow or Block Phrases 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 Console or the Exchange Management Shell to add Allow phrases or Block phrases to the Content Filter agent. You can configure the Content Filter agent to recognize and filter certain phrases. You must specify words or phrases for the Content Filter agent to act on. When you specify a word or phrase, you must specify whether it is an Allow phrase or a Block phrase. When the Content Filter agent encounters an Allow phrase in a message, the spam confidence level (SCL) is set to 0. When the Content Filter agent encounters a Block phrase in a message, the SCL is set to 9.
|Do not use common words or phrases as your Allow words or phrases because spammers can easily guess common words or phrases and can bypass filtering. Also, be aware that custom phrases must be less than 257 characters long.|
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:
Open the Exchange Management Console on the Edge Transport server.
In the console tree, click Edge Transport.
In the work pane, click the Anti-spam tab, and then select Content Filtering.
In the action pane, click Properties.
Click the Custom Words tab.
To specify an Allow word or phrase, in the Messages containing these words or phrases will not be blocked text box, type the word or phrase and then click Add.
To specify a Block word or phrase, in the Messages containing these words or phrases will be blocked, unless the message contains a word or phrase from the list above text box, type the word or phrase and then click Add.
Click OK to save your changes and close the dialog box, or click Apply to save your changes without closing the dialog box.
Run the following command:
Add-ContentFilterPhrase -Phrase <String> -Influence <GoodWord | BadWord>
For example, if you want to block the phrase "stock tip," run the following command:
Add-ContentFilterPhrase -Phrase "stock tip" -Influence BadWord
Note: You must enclose the Phrase string in quotation marks if the phrase contains spaces.
For detailed syntax and parameter information, see the following topics:
For more information about how to configure content filtering, see the following topics: