You can use e-mail filters to block unwanted messages based upon a certain set of conditions. For example, you can specify that messages containing a certain word or phrase are deleted automatically or routed to another e-mail address. The e-mail filters that you create are cumulative: if an e-mail message passes through one filter, it can still be blocked by a subsequent filter.
There are two types of e-mail filters that you can create:
- User-level filtering: You can configure e-mail filters for specific e-mail accounts.
- Account-level filtering: You can configure e-mail filters that apply to all e-mail accounts for the domain.
To create an e-mail filter for an e-mail account, follow these steps:
- In the Mail section of the cPanel home screen, click User Level Filtering or Account Level Filtering.
- If you are configuring a user-level filter, locate the account for which you want to add a filter, and then click Manage Filters.
- Click .
- In the Filter Name text box, type the filter name.
- Under Rules, specify the filter rules. For example, to filter e-mail messages that contain the word buy in the subject:
- In the first list box, select Subject.
- In the second list box, select contains.
- Type buy in the text box.
- Click the + icon to add another rule.
- Under Actions, select the action that the filter should perform if rule conditions are matched. You can specify multiple actions.
- Click .
Testing an e-mail filter
TIP: After you have created a filter, you should test it to make sure that it filters what you intended.To test an e-mail filter, follow these steps:
- In the Mail section of the cPanel home screen, click User Level Filtering or Account Level Filtering.
- If you are configuring a user-level filter, locate the account that has the filter you want to test, and then click Manage Filters.
- In the Filter Test text box, type a test e-mail message.
- Click Filter Trace page shows if any rule conditions were met, and whether or not any actions will be taken. . The