ORC Webhosting Logo

How are email filters managed in cPanel?

Introduction

Email filtering with cPanel has never been so easy! Whether you want to stop receiving emails from someone or forward emails with a specific subject, cPanel has the solution for you. With the eMail Filters feature, you can easily create and manage eMail filters per eMail account without affecting other eMail accounts set up for the domains associated with your web hosting account. In the next lines of this tutorial, we will give you detailed information on how to fully manage the "eMail Filter" functionality in cPanel.

Access the eMail filter in cPanel

You must first register with the Register cPanel serviceto access this function.

When you log in, look for the "Email Filter" feature in the "Email" category.

email filter in cpanel
Access the eMail filter in cPanel

When you click on the function, you will be taken to a new page called "Email Filter".

Create a new eMail filter

As mentioned before, eMail filters are used to define rules that will be applied to all incoming emails associated with an existing eMail account. Therefore, to add a new eMail filter, you must first select the eMail account for which the filter should be added. On the default "eMail Filter" page you will see a table with all the eMail accounts you have currently created. From this table, select the eMail account for which you want to manage the eMail filters by simply clicking on the "Manage Filters" link that is displayed next to each eMail account in the table.

E-mail filter
Manage the eMail filter in cPanel

This action will take you to a new page where you can further manage the eMail filters for the selected eMail account.

To create a new e-mail filter, please click the "Create new filter" button at the top of the page.

email filter in cpanel
Create a new eMail filter in cPanel

This action will take you to a new page where you will see some configuration options. Let's take a look at them:

Filter name: The name of the filter you want to add. Please note that the name of the filter must be unique, as it identifies the filter in the measures of filters you can add.

Rules: To instruct the email service to filter a message, you must first define rules by which messages will be filtered. Please note that you can have as many filters as you want and you can add or remove rules using the buttons next to each filter.

Actions: This option allows you to configure the action that the email service performs for emails that match the previously configured rules. The following actions are available:

Discard message: This option instructs the mail server to discard all messages that match one of the previously configured rules.

Redirect to e-mail address: This option instructs the mail server to redirect all messages that match one of the previously configured rules.

Error with message: This option causes all emails that match the rules you set to be rejected, but the sender receives an error message.

Stop editing the rules: This option skips all configured rules.

Deliver to folder: This option instructs the mail server to deliver messages only to a specific folder.

Forward to a program: This option causes all messages matching the created filters to be forwarded to a script in your web hosting account.

When you are done with the configuration, click the button "Create", which is displayed at the bottom of the page.

email filter in cpanel
Configure the new eMail filter in cPanel

Once the filter is created, cPanel will display a success message or an error message if an error occurred. This completes the creation of your email filter.

Manage existing email filters

To manage an existing email filter, you need to access the filters for the selected email account again. A list of configured filters will be displayed. Please note that mail filters are executed in the order of their execution on the mail server. The higher the position of the eMail filter, the higher the priority with which it is processed.

Click the "Edit" button displayed in the right part of the filter block to edit a mail filter.

email filter in cpanel
Edit an existing mail filter

This action will take you to a familiar screen that contains all the configurations we discussed in the previous section of this tutorial. The configurations are already preset, so you can change them to achieve your goals. When you are done, please click the "Save" button at the bottom of the page to save the filter.

To delete an existing filter, click the "Delete" link that appears just below the "Edit" link.

cPanel will ask you to confirm the deletion of the account by redirecting you to a new page. Click the "Delete Filter" button. The filter will be deleted and you will be returned to the "Email Filter" page for the selected mail account.

Congratulations! You now know how to manage mail filters for separate eMail accounts. If you encounter any difficulties in doing so, please contact our Support Teamwhich will be happy to help you.

We will show you how to use the global filters in another tutorial: How do I manage the global email filters in cPanel?

Hat Ihnen diese Anleitung geholfen?

Fast Wordpress hosting

Your WordPress deserves a home that is as unique as your content. Discover hosting that is tailored to the needs of WordPress!