How to configure e-mail filtering 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 an e-mail message passes through one filter, it can still be blocked by a subsequent filter.

To create an e-mail filter for an e-mail account, follow these steps:

  • In the Mail section of the cPanel home screen, click Account Level Filtering.
  • Click Create a New Filter.
  • In the Filter Name text box, type the filter name.
You should use a filter name that is easily identifiable so you can tell what the filter's purpose is. Also, filter names must be unique; you cannot use duplicate filter names.

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.
You can add as many rules as you want. For example, the sample rule in the previous step blocks all messages that contain the word buy in the subject. You can add another rule that specifies the word now in the subject. Select and in the list box. The filter will now match any message that contains the words buy and now in the subject line.

  • Under Actions, select the action that the filter should perform if rule conditions are matched. You can specify multiple actions.
  • Click Create.

Was this answer helpful?

 Print this Article

Also Read

How to Trace an Email Address

This tutorial will teach how to trace an email address. This feature allows you to view how the...

How to create and manage mailing lists in cPanel

Creating mailing list in cPanel cPanel allows you to create mailing lists in several...

How to create email accounts

How do I create email accounts. First login to your cPanel. Then find the mail section and...

How to Create A POP Email Account

This tutorial will teach you how to create POP email accounts. These accounts will be based off...

Google Apps MX Records

Here are the values to use in your domain's DNS settings to configure MX records for Google Apps....

Our official partners