dns_blocklists.cf isn't appended to main.cf and therefore ineffective #5340
This commit is contained in:
parent
020cb21b35
commit
952ddb18fd
@ -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
|
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
|
if [ ! -f /opt/postfix/conf/custom_transport.pcre ]; then
|
||||||
echo "Creating dummy custom_transport.pcre"
|
echo "Creating dummy custom_transport.pcre"
|
||||||
touch /opt/postfix/conf/custom_transport.pcre
|
touch /opt/postfix/conf/custom_transport.pcre
|
||||||
|
Loading…
Reference in New Issue
Block a user