Filtering incoming emails by domain in WHM helps you block messages from unwanted or suspicious domains. It is a simple way to reduce spam and enhance email security. This guide explains when to use this feature and how to set it up.
When and Why to Use This Feature?
When you wish to stop harmful or unwanted email traffic, WHM’s domain-based inbound email filtering feature is helpful. This functionality can be used to:
- Stop phishing or spam emails coming from particular websites.
- Block websites that are known to transmit harmful or large messages.
- Put an end to specific senders’ ongoing, unwanted communications.
- Reduce mailbox clutter and improve server security.
This feature is particularly useful for keeping your email environment organised while protecting your users from potentially harmful or fake sources.
How to Filter Incoming Mail by Domain in WHM
- Log in to WHM.
- Select the “Email” section from the left-hand side of the screen.
- Click on the “Filter incoming Emails by Domain” sub-option.

- Under the “Blocked Domains” heading, enter the domains using separate lines.
- If you want, you can tick the box named “Show domains as ASCII (relevant for IDNs)” to add international domain names (IDNs).
- Click on the “Save” button.

This way, you can filter incoming emails by domain in WHM. Hope you liked our article. For more information on web hosting, you can visit our KB section regularly.