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 create and view phpinfo file in cPanel?

It is a very important and useful function of PHP to return information. It includes information...

How To Automatically Delete Forwarded Mails in cPanel?

You can use cPanel email forwarder option to forward your emails to any other email account....

How to fix RVsitebuilder error : decode_json failed, invalid json. error: garbage after JSON object, at character offset 216

You may receive the below error while configuring the website using the RVsitebuilder in cPanel....

How to enable/disable mod security in cPanel?

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

How to enable cPhulk in WHM?

cPHulk is a powerful extension that protects your server from the brute force attacks. In this...

  • 0 Users Found This Useful

Was this answer helpful?