浏览代码

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

andryyy 5 年之前
父节点
当前提交
82c094c77c
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      .gitignore
  2. 1 0
      data/conf/postfix/main.cf

+ 1 - 0
.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

+ 1 - 0
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