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

How do I enable ExecCGI via .htaccess file?

You can enable ExecCGI by going to your .htaccess and adding this line to the file: Options...

How to enable PHP error reporting in cPanel?

Please refer to the following article to enable PHP error reporting in cPanel Login to your...

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...

Listening ports of cPanel/WHM

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

How to enable/disable mod security in cPanel?

Disabling ModSecurity on your domains loses the extra layer of security protection that the...

  • 0 Users Found This Useful

Was this answer helpful?