1

Topic: How do I block a whole subnet in AMAVISD

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.98
- Deployed with iRedMail Easy or the downloadable installer? Installer
- Linux/BSD distribution name and version: Ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hello iRedMail people

Please tell me how to block a whole subnet of spamming servers?
Can I do it by entering an asterisk like this xxx.xxx.xxx.*

Thanks

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: How do I block a whole subnet in AMAVISD

Hello, Zhang

My question has been waiting around a year for the answer...

Can you suggest how to block a whole subnet?  We currently receive multiple spam messages from 104.140.140.x and every time messages come from a new IP address.  Can I block the subnet with pattern like 104.140.140.0/24 or 104.140.140.*?

Thanks in advance

3

Re: How do I block a whole subnet in AMAVISD

Block it with iptables then, thats really a simple solution