Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Create a file named /etc/eximblacklist and add the domains to block
- WHM >> Exim configuration editor >> Advanced Editor.
- "#!!# cPanel Exim 4 Config"
- domainlist exim_blacklist = lsearch;/etc/eximblacklist
- add inside the section under "ROUTERS CONFIGURATION "
- reject_domains:
- driver = redirect
- # RBL Blacklist incoming hosts
- domains = +exim_blacklist
- allow_fail
- data = :fail: Connection rejected: SPAM source $domain is manually blacklisted.
- Save the configuration and see the exim error log. You can see the domain blocked.
Advertisement
Add Comment
Please, Sign In to add comment