How To Block Emails From a Specific TLD for cPanel Accounts
Introduction
This article's goal is to describe how to prevent emails from certain TLDs.
Procedure
- Open your cPanel account and log in.
- Go to Email and select Global Email Filters
- Select the Add New Filter button.
- Give your filter a name, such as ".TLD Block."
- Enter "From" and "ends with" for the rule.
- Type ".tld" into the Rules text box.
NOTE: Be sure to replace "tld" with the TLD that you wish to block.
- Select the desired course of action, such as "Fail with Message" or "Discard Message."
NOTE: If you choose "Fail with Message" as the action, you will be prompted to enter the message you would like to fail these deliveries with.
- Click Create.