Topic: Blacklisting by CIDR Network Problems

- iRedMail version (check /etc/iredmail-release): 1.3
- Deployed with iRedMail Easy or the downloadable installer?  Downloadable Installer
- Linux/BSD distribution name and version: Debian 10.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Y
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.

I have multiple CIDR Network blocks set up in my blacklist.  is working. is not.   

I have to manually put in entries such as

The only thing that I can see obviously is that  is a class A network and is a class C.  Since network classes are pretty much a thing of the past and only subnet masks really matter anymore, I doubt whether this is related, but it's the only thing I can see which could possibly be relevant.

I can see in my admin panel where specific IPs such as are blocking.   Class C networks are blocking. is not blocking.

Any ideas?


Re: Blacklisting by CIDR Network Problems

Let me update the above information.

It looks like CIDR Network blocks were only working prior to updating my system yesterday.  My block on is failing and I'm having to put each individual IP in manually as the spammer keeps changing their network addresses.  In the last few hours, I've had to add,  .16,  .4 and .6 when before it was enough to block the subnet.


Re: Blacklisting by CIDR Network Problems

Where do you put this blacklist?


Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee