Skip to content

Commit

Permalink
Merge pull request #5342 from DocFraggle/mailcow_spamhaus
Browse files Browse the repository at this point in the history
dns_blocklists.cf isn't appended to main.cf and therefore ineffective…
  • Loading branch information
DerLinkman authored Jul 30, 2023
2 parents 34d990a + 952ddb1 commit dabf910
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions data/Dockerfiles/postfix/postfix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dabf910

Please sign in to comment.