Page 1 of 1

spam-blocks setup

Posted: Fri May 12, 2017 8:58 pm
by patrick.porteous
Hello,

I'm using vestacp with exim on a CentOS7 server. I see the entry for hostlist spammers = net-iplsearch;/etc/exim/spam-blocks.conf in exim's main.conf file but am not sure of how to format the entries in spam-blocks.conf to enable blocking. Is there documentation somewhere on how to filter using this feature of vestacp?

Re: spam-blocks setup

Posted: Tue Jun 06, 2017 6:22 pm
by patrick.porteous
Hi, I never received a response on this post but just for anyone else who has this question, I was able to determine that because of the hostlist spammers = net-iplsearch;/etc/exim/spam-blocks.conf entry in the Vesta CP exim.conf setup, that this file will only take IP addresses as an argument to block spammers. I'd assume that it would also accept CIDR values such as 192.168.10.0/24 as well but I have not verified that. I was able to determine that exim will block new values in this file without having to restart the service. Hope this saves someone some time when trying to figure out how to set this up.