How to create user and/or account level filtering from cPanel?

When you receive any Email on the server, you may need to discard some emails (i.e. spam mails), redirect mails to specific email address or need to deliver a mail to a program. In such scenario, the User and the Account Level Filtering is useful. cPanel provides the facility to manage this type of filters for all the emails of your domain as well as for specific email account. This type of filters are useful for discarding spam, redirecting mail, or piping messages to your program.

Steps to create User Level Filtering:


  1. Click the User Level Filtering icon under the Mail section.

    User Level Filtering in cPanel

  2. Click Manage Filters next to the user (i.e. email account) for which you need to set up filter.

    Manage User Level Filtering

  3. To add a filter on email account, click on Create a new Filter button.

    Create a New User Level Filtering

  4. In the Filter Name field, enter a name for your filter.

  5. From the Rules option, choose the rule characteristic from first drop-down list that you wish to apply. (i.e. From, to, subject etc.).

  6. From second drop-down list, select an operator. (i.e. equals, contains, ends with etc.).

  7. In next text box, enter value according to characteristic and operator. (i.e. ads@testmail.com).

  8. You can enter as many characteristic as you wish to apply.

  9. From the Actions drop-down list, choose the action which you need be performed when a mail matches a rule in the filter.

  10. Click on Create button to enable the rule.

    Fill All Details to Create User Level Filtering

  11. In future, if you need to modify or remove any filter, click on User Level Filtering from cPanel dashboard and select relevant filter to modify or remove.

    Edit or Delete User Level Filter


Steps to Create Account Level Filtering:


  1. Click the Account Level Filtering icon under the Mail section.

    Account Level Filtering in cPanel

  2. To add a filter, click on Create a new Filter button.

    Create a New Account Level Filter

  3. In the Filter Name field, enter a name for your filter.

  4. From the Rules option, choose the rule characteristic from first drop-down list that you wish to apply. (i.e. From, to, subject etc.).

  5. From second drop-down list, select an operator. (i.e. equals, contains, ends with etc.).

  6. In next text box, enter value according to characteristic and operator.

  7. You can enter as many characteristic as you wish to apply.

  8. From the Actions drop-down list, choose the action which you need be performed when a mail matches a rule in the filter.

  9. Click on Create button to enable the rule.

    Fill All Details to Create Account Level Filtering

  10. In future, if you need to modify or remove any filter, click on Account Level Filtering from cPanel dashboard and select relevant filter to modify or remove.

    Edit or Delete Account Level Filter

  • 1 Users Found This Useful

Was this answer helpful?


Related Articles

How to Enable SpamAssassin From cPanel to Reduce Incoming spam?

In order to filter out unwanted messages/spams, you can activate SpamAssassin anti-spam tool from...

How to change cPanel username in WHM?

We do not allow to change cPanel username for Shared Hosting accounts. VPS or Dedicated server...