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 to Install IonCube in cPanel/WHM ?

IonCube loader is a free PHP extension uses to decode encrypted PHP files at runtime. Please...

How to increse FTP timeout from WHM/cPanel?

Please refer to the following steps to increase the timeout value for FTP on WHM/cPanel. Login...

How to install Moodle using Softaculous in cPanel?

You need to have PHP extension fileinfo enabled for your domain and PHP version equal to or...

How to enable/disable mod security in cPanel?

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

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

  • 0 Users Found This Useful

Was this answer helpful?