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

Zoho MX Records

General Instructions to change the MX records Follow these steps to change your domain's MX...

Mac Mail Tutorial

This tutorial will help you setup your Mac Mail client with your email settings. Step 1 Start...

How to use Spam Assassin

Spam Assassin is a great anti-spam tool. We recommend to activate it as soon as you create an...

What is an MX Record

The purpose of this tutorial is to assist you in understanding what MX (mail exchange) records...

Email account setup on Android

From the phone home screen, tap Applications > Settings > Accounts > Add account...

Our official partners