From 82c094c77ca3c3bf88c3f167adcd72041189b7b0 Mon Sep 17 00:00:00 2001 From: andryyy Date: Thu, 6 Feb 2020 08:28:05 +0100 Subject: [PATCH] [Postfix] Added custom_postscreen_whitelist.cidr for a custom Postscreen wl, fixes #3313 --- .gitignore | 1 + data/conf/postfix/main.cf | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 11f18e29..f70d11e6 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ data/conf/postfix/sni.map.db data/conf/postfix/extra.cf data/conf/postfix/sql data/conf/postfix/custom_transport.pcre +data/conf/postfix/custom_postscreen_whitelist.cidr data/conf/postfix/allow_mailcow_local.regexp data/conf/dovecot/sql data/conf/dovecot/lua diff --git a/data/conf/postfix/main.cf b/data/conf/postfix/main.cf index 64591e6b..8104db52 100644 --- a/data/conf/postfix/main.cf +++ b/data/conf/postfix/main.cf @@ -34,6 +34,7 @@ milter_protocol = 6 minimal_backoff_time = 300s plaintext_reject_code = 550 postscreen_access_list = permit_mynetworks, + cidr:/opt/postfix/conf/custom_postscreen_whitelist.cidr, cidr:/opt/postfix/conf/postscreen_access.cidr, tcp:127.0.0.1:10027 postscreen_bare_newline_enable = no