This article describes how to set up e-mail filters in cPanel.
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 a 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:
To create an e-mail filter, follow these steps:
Locate the account for which you want to add a filter, and then click Manage Filters.
To create a global e-mail filter, click Global Email Filters:
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:
Click the + icon to add another rule.
After you have created a filter, you should test it to make sure that it filters what you intended.
To test an email filter, follow these steps:
Locate the account for which you want to add a filter, and then click Manage Filters.
To create a global e-mail filter, click Global Email Filters:
After you have created a filter, you can edit it or delete it.
To edit or delete an email filter, follow these steps:
Locate the account for which you want to add a filter, and then click Manage Filters.
To create a global e-mail filter, click Global Email Filters:
Under Current Filters, locate the filter you want to edit or delete.