Hello,
I am using this suggestion below from a forum member on how to block spam domains.
Specifically this rule:
So much so that this list of domains currently has 2000 lines.
We have already used all other methods available in the cpanel against spam.
And we also block a large number of IP numbers.
My doubt is the following: this blacklist of domains will be a very heavy job for the server to process in each email?
I am using this suggestion below from a forum member on how to block spam domains.
Specifically this rule:
But in my country we have received a very large amount of spam!Imagine you are seeing a lot of Spam mails originating from a domain say example.com in your server logs. We can blacklist the domain example.com from sending mails through Exim mail server.
Create a file named /etc/eximblacklist and add the entry "example.com" (without quotes). That is, add the domains you need to blacklist one per line.
Now go to WHM >> Exim configuration editor >> Advanced Editor.
Add the below lines in the first section just below the line "#!!# cPanel Exim 4 Config"
domainlist exim_blacklist = /etc/eximblacklist
Now add inside the section under "ROUTERSTART"
reject_domains:
driver = redirect
# RBL Blacklist incoming hosts
domains = +exim_blacklist
allow_fail
data = :fail: Connection rejected: Host domain is banned
Save the configuration and see the exim error log. You can see the domain blocked.
So much so that this list of domains currently has 2000 lines.
We have already used all other methods available in the cpanel against spam.
And we also block a large number of IP numbers.
My doubt is the following: this blacklist of domains will be a very heavy job for the server to process in each email?
Last edited: