Topic: How to whitelist domains? I can't get white listing to work.
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.5
- Deployed with iRedMail Easy or the downloadable installer? downloaded
- Linux/BSD distribution name and version: Ubuntu 22.04 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- 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.
====
Oct 6 10:38:58 mail postfix/postscreen[7893]: warning: cidr map /etc/postfix/postscreen_access.cidr, line 4: bad address pattern: "verizon.com": skipping this rule
Oct 6 10:38:58 mail postfix/postscreen[7893]: warning: cidr map /etc/postfix/postscreen_access.cidr, line 5: bad address pattern: "pcmatic.com": skipping this rule
Oct 6 10:38:58 mail postfix/postscreen[7893]: warning: cidr map /etc/postfix/postscreen_access.cidr, line 6: bad address pattern: "xcitium.com": skipping this rule
Oct 6 10:38:58 mail postfix/postscreen[7893]: warning: cidr map /etc/postfix/postscreen_access.cidr, line 7: bad address pattern: "mspalliance.com": skipping this rule
How do I fix this to whitelist these domains? What am doing wrong?
In postcreen_access.cidr:
# Rules are evaluated in the order as specified.
#1.2.3.4 permit
#2.3.4.5 reject
verizon.com permit
pcmatic.com permit
xcitium.com permit
mspalliance.com permit
# Permit local clients
127.0.0.0/8 permit
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.