1

Topic: custom rdns_access.pcre -- is it working?

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

I edited the default/empty rdns_access.pcre file in the ../custom/postfix directory with the values below.

How can I tell if its working?  I can't see any messages in the logs.  I'm normally visited by these bots and would like to block them permanently.

cat rdns_access.pcre
/\w\.binaryedge\.ninja$/ REJECT Access not permitted
/\w\.censys-scanner\.com$/ REJECT Access not permitted
/\w\.cyberresilience\.io$/ REJECT Access not permitted
/\w\.shodan\.io$/ REJECT Access not permitted
/\w\.shadowserver\.org$/ REJECT Access not permitted
/\w\.ipip\.net$/ REJECT Access not permitted
/\w\.\w\.internet-measurement\.com$/ REJECT Access not permitted
/\w\.stretchoid\.com$/ REJECT Access not permitted
/\w\.scan\.bufferover\.run$/ REJECT Access not permitted
/\w\.stretchoid\.com\.$/ REJECT Access not permitted

----

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