| #

## How do I use keywords?

Content Filtering → [Policy Name] → Edit Rule
Keywords are not strictly words. They can be any of the following:

- Numbers
- Typographical characters
- Short phrases
- Words or phrases connected by logical operators
- Words or phrases that use regular expressions

### Using Keywords Effectively

ScanMail offers simple and powerful features to create highly specific filters. Consider the following, when creating your Content Filtering rules:

- By default, ScanMail searches for exact matches of keywords. Use regular expressions to set ScanMail to search for partial matches of keywords.
- ScanMail analyzes multiple keywords on one line differently than multiple keywords when each word occupies a single line.
- You can also set ScanMail to search for synonyms of the actual keywords.
- Try to use exact matching, regular expressions, operators with keywords, and import keywords to the keyword list from previous configurations.

#### Using Exact Matching and Keywords on Multiple Lines

Situation | Example | Match / Non-match
--- | --- | ---
Two words on same line | bare sexy | Matches: "Click here to see bare sexy beauties." Does not match: “Click here to see bare naked sexy hotties.”
Two words separated by a comma | bare, sexy | Matches: "Click here to see hot, bare, sexy beauties." Does not match: "Click here to see hot, bare, and sexy beauties."
Multiple words on multiple lines | nude sexy bare naked | When you choose Any specified keywords Matches: "This is a nude picture" Also matches: "See young, hot, and sexy beauties" When you choose All specified keywords Matches: "This is a nude picture of sexy buff and bare naked" Does not match: "This is a nude picture of sexy buff bare and naked"
Many keywords on same line | sex bare nude naked buff | Matches: “Click here for sex bare nude naked buff” Does not match: "Click here to see sex that's bare and buff"