Email

Email Filters

Updated: 13 February 2024
cPanel Version: 118

In this tutorial, we will cover the Email Filters feature available in the cPanel of your hosting account. This tool helps you manage the flow of incoming emails by setting up conditions to sort them automatically. Let's learn how to create, edit, delete, and test a filter.

Note:

To learn how to set up email filters in cPanel, check out our Guide to Email Filters

Creating an Email Filter

  1. Log into your cPanel account.
  2. Navigate to the Email section and click on Email Filters.
  3. Click on the Manage Filters link next to the email account you want to create a filter for.
  4. Click on the Create a New Filter button.
  5. Enter a name for the filter in the Filter Name field.
  6. In the Rules section, define the conditions for the email filter.
  7. In the Actions section, define what action should be performed when the conditions are met.
  8. Click on the Create button to save the filter.

Remember

The filter name should be unique and descriptive to help you identify it later.

Editing an Email Filter

  1. Follow steps 1-3 from the 'Creating an Email Filter' section to reach the list of existing filters.
  2. Click on the Edit link next to the filter you want to modify.
  3. Make the necessary changes in the Rules and Actions sections.
  4. Click on the Update Filter button to save the changes.

Deleting an Email Filter

  1. Follow steps 1-3 from the 'Creating an Email Filter' section to reach the list of existing filters.
  2. Click on the Delete link next to the filter you want to remove.
  3. In the confirmation pop-up, click on the Delete Filter button to confirm the removal.

Be careful

Deleting a filter is irreversible. Make sure you no longer need the filter before you delete it.

Testing an Email Filter

  1. Follow steps 1-3 from the 'Creating an Email Filter' section to reach the list of existing filters.
  2. Click on the Test Filter button.
  3. In the Filter Test box, enter a sample message to test the filter.
  4. Click the Test Filter button to see the results of the test.

If the filter is set up correctly, it should perform the defined action on the sample message.

Testing

Always test your filters before you start using them to ensure they work as expected.


External links

Email Filters - cPanel Documentation