浏览代码

dns_blocklists.cf isn't appended to main.cf and therefore ineffective #5340

Christian Hailer 2 年之前
父节点
当前提交
952ddb18fd
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      data/Dockerfiles/postfix/postfix.sh

+ 3 - 0
data/Dockerfiles/postfix/postfix.sh

@@ -539,6 +539,9 @@ echo -e "myhostname = ${MAILCOW_HOSTNAME}\n$(cat /opt/postfix/conf/extra.cf)" >
 
 cat /opt/postfix/conf/extra.cf >> /opt/postfix/conf/main.cf
 
+# Append postscreen dnsbl sites to main.cf
+cat /opt/postfix/conf/dns_blocklists.cf >> /opt/postfix/conf/main.cf
+
 if [ ! -f /opt/postfix/conf/custom_transport.pcre ]; then
   echo "Creating dummy custom_transport.pcre"
   touch /opt/postfix/conf/custom_transport.pcre