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.

Important:
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.

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 Console to specify Allow phrases and Block phrases

  1. Open the Exchange Management Console on the Edge Transport server.

  2. In the console tree, click Edge Transport.

  3. In the work pane, click the Anti-spam tab, and then select Content Filtering.

  4. In the action pane, click Properties.

  5. Click the Custom Words tab.

    1. 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.

    2. 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.

  6. Click OK to save your changes and close the dialog box, or click Apply to save your changes without closing the dialog box.

To use the Exchange Management Shell to specify Allow phrases and Block phrases

  • Run the following command:

    Copy Code
    Add-ContentFilterPhrase -Phrase <String> -Influence <GoodWord | BadWord>
    

    For example, if you want to block the phrase "stock tip," run the following command:

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