How to create User or Account Level Filter from cPanel?

When you receive any mail on the server, you 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 this 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.
 
In this article, we will know how to set User and Account Level Filtering on email via cPanel.
 
Steps to Create User Level Filtering :
 
  • Click the User Level Filtering icon under the Mail section.
 
 
  • Click Manage Filters next to the user (i.e. email account) for which you need to set up filter.
 
 
  • To add a filter on email account, click on Create a new Filter button.
 
 
  • In the Filter Name field, enter a name for your filter.
  • From the Rules option, choose the rule characteristic from first drop-down list that you wish to apply. (i.e. From, to, subject etc.).
  • From second drop-down list, select an operator. (i.e. equals, contains, ends with etc.).
  • In next text box, enter value according to characteristic and operator. (i.e. ads@testmail.com).
  • You can enter as many characteristic as you wish to apply.
  • From the Actions drop-down list, choose the action which you need be performed when a mail matches a rule in the filter.
  • Click on Create button to enable the rule.
 
 
  • 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.
 
 
Steps to Create Account Level Filtering:
 
  • Click the Account Level Filtering icon under the Mail section.
 
 
  • To add a filter, click on Create a new Filter button.
 
 
  • In the Filter Name field, enter a name for your filter.
  • From the Rules option, choose the rule characteristic from first drop-down list that you wish to apply. (i.e. From, to, subject etc.).
  • From second drop-down list, select an operator. (i.e. equals, contains, ends with etc.).
  • In next text box, enter value according to characteristic and operator.
  • You can enter as many characteristic as you wish to apply.
  • From the Actions drop-down list, choose the action which you need be performed when a mail matches a rule in the filter.
  • Click on Create button to enable the rule.
 
 
  • 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.
 
 
 

Was this answer helpful?

Also Read

How to reset FTP password in cPanel?

You can change FTP password from cPanel using following steps:  Login to cPanel. Go to the...

How to: Create a default email address

Source: https://youtu.be/3j07b6ob_nk

How to add an Addon domain in cPanel?

In cPanel, we can add additional domains as addon domain in same hosting account. This article...

How to Enable SpamAssassin

Source: https://youtu.be/Ym3YluK83r8

How to take MySQL database backup from cPanel?

You can download compressed MySQL database backup from cPanel. You will need to perform the...