How to set Global email filters in cPanel to discard any email?

Suppose you are receiving spam emails with the specific subject line contains the word buy. Now, you want to discard all the emails with the subject line buy. Please refer to the following steps to discard emails with the subject line.

  1. Login to your cPanel. 

  2. Click on the Global Email Filters. 

  3. Click on Create a New Filter.

  4. In the filter name, set a new filter name. It would help if you kept the unique name to identify your filter name from multiple filters.

  5. Inside the Rules sections, select the subject and contains. At the box below the subject, enter the subject line upon which you want to set the rule.

  6. In the Action button, select Discard Message from the drop-down and click on create button.

Related Articles

Listening ports of cPanel/WHM

Following are the ports used by cPanel/WHM for its service. cPanel without SSL: 2082 cPanel...

How to create a website using RVsitebuilder 7 in cPanel?

Please refer to the following steps to create a website using RVsitebuilder 7.  Login to your...

How to control outgoing emails from WHM?

In this article, we will show you how to configure the email server from WHM to control outgoing...

How to Check Your Website’s Error Log in cPanel?

In this article, we will show you how you can check your website’s error logs in cPanel. It is...

Shell script to change multiple cPanel account password.

You may need to change the password of all your cPanel account in case of a potential security...

  • 0 Users Found This Useful

Was this answer helpful?