1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-21 01:49:22 +02:00

[Postfix] Added custom_postscreen_whitelist.cidr for a custom Postscreen wl, fixes #3313

This commit is contained in:
andryyy 2020-02-06 08:28:05 +01:00
parent 8a3fc802c5
commit 82c094c77c
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@ -12,6 +12,7 @@ data/conf/postfix/sni.map.db
data/conf/postfix/extra.cf data/conf/postfix/extra.cf
data/conf/postfix/sql data/conf/postfix/sql
data/conf/postfix/custom_transport.pcre data/conf/postfix/custom_transport.pcre
data/conf/postfix/custom_postscreen_whitelist.cidr
data/conf/postfix/allow_mailcow_local.regexp data/conf/postfix/allow_mailcow_local.regexp
data/conf/dovecot/sql data/conf/dovecot/sql
data/conf/dovecot/lua data/conf/dovecot/lua

View File

@ -34,6 +34,7 @@ milter_protocol = 6
minimal_backoff_time = 300s minimal_backoff_time = 300s
plaintext_reject_code = 550 plaintext_reject_code = 550
postscreen_access_list = permit_mynetworks, postscreen_access_list = permit_mynetworks,
cidr:/opt/postfix/conf/custom_postscreen_whitelist.cidr,
cidr:/opt/postfix/conf/postscreen_access.cidr, cidr:/opt/postfix/conf/postscreen_access.cidr,
tcp:127.0.0.1:10027 tcp:127.0.0.1:10027
postscreen_bare_newline_enable = no postscreen_bare_newline_enable = no