# Phrase Filtering

Phrase filtering searches for specific spam phrases within the body of an e-mail and takes the action that you specify. This page allows you to enable/disable phrase filtering for the current host, create and maintain the host specific phrase list, and specify an action to take when an e-mail message contains one of the phrases. Phrases are stored in the p hrase-list.txt file which is located in the host's directory. The Phrase list box displays the contents of the current phrase list.

## Enabling Phrase Filtering

1. Select which host's phrase filtering settings will be used for the current host. Select from:

   - None. Disables phrase filtering. If this option is selected, all options on this screen are disabled.

   - Use Current Host. Creates new phrase filtering settings for the current host.

   - Use Primary Host. Applies the primary host's phrase filtering settings to the current host.

2. Select the task you want to accomplish:

## Adding Phrases to the Phrase List

## Editing the Phrase List

## Removing Phrases from the Phrase List

3. Select Normalize Words if you want IMail to strip out all non-alphabetic charaters from words before comparing them to the phrase list.

4. From the Scan listbox, select which area(s) of the message you want to scan for phrase matches. Select from: Subject, Body, or Subject and Body.

5. Specify what action to take if a message contains one of the phrases from the phrase list.

- Delete. Immediately deletes the message.

- Forward to Address. Forwards the message to the e-mail address that is entered in the Target box. If no address is entered, spam is sent to a "bulk" mailbox for the "root" account.

- Insert X-Header (default). Inserts an X-Header into the message indicating that the message contained a phrase from the phrase list.

- Move To Mailbox. Moves the message to the mailbox that is specified in the Target textbox.

- None. No action is taken on the message.

6. If you want to modify the subject of spam messages, select Prefix Subject With and enter the text into the text box.

7. Click Save.

Note: You can obtain an example phrase.txt file from the Ipswitch website at www.ipswitch.com.

Related Topics:

What should be in the Phrase List?

Statistical Filtering