Block All Domains Whitelist Select Domains

dude9er

Registered
Nov 12, 2013
1
0
1
cPanel Access Level
Website Owner
In cPanel how do you set up filtering to BLOCK all domains for both inbound and outbound emails and whitelist my company domains. I am looking to only allow inbound and outbound emails to be sent from 4 company domains and block employees from receiving and sending emails from all other domains. Emails are to be used for business purposes only and therefore all non-business domains need to be blocked.

Thanks everyone.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello :)

It may be easier to setup this configuration with firewall rules instead of custom Exim ACL rules. You may want to try ensuring that only local connections are allowed for mail-related services. Or, you could also block a range of IP addresses (every range except your own) under "Access Lists" in "WHM Home » Service Configuration » Exim Configuration Manager".

Thank you.