Content Filtering at the domain level is a great way to perform actions that meet specific criteria. For example, you can use content filters to delete messages with certain attachments (e.g., attachments with a .exe extension), forward messages from a specific email address to another account, or even alter the subject of specific types of email. Content filters are most commonly used to organize email by moving messages to specific folders. However, content filtering is extremely flexible and allows you to filter messages for users the way you want to.
NOTE: If you're using content filtering to block spam, please remember that, if not setup correctly, you may not receive legitimate email. For example, if you filter the word "Delta" and your rule is set to "Delete message", any legitimate email sent from Delta Airlines will be deleted (think of an airline reservation).
Following are the steps to set Content filtering:
1. Login to your Webmail (i.e., mail.yourdomain.com.)
2. Go to Settings → Content Filtering and click on New.
3. Click on New Condition from Conditions tab.
4. Select Rule Type from the prompt box.
Available Options:
- From Address
- To Address
- Contains specific words or phrases
- Attachments
5. Provide the filter comparison and correct option [Matches or Does not match] and click on Save. You can add multiple conditions as you wish.
6. Click on New Actions from Actions:
Select Action from the prompt box with filter option.
7. Click on Save to apply changes.
8. Enter Name, Match Type under General tab and click Save.
Note: You can also enable “Enable wildcards in search strings (* and ?)”. Wildcards can be used to replace a specific word, phrase or character, where a question mark (?) represents a single character and an asterisk (*) represents any text.