mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-08-04 16:04:28 +00:00
Fix for fix
I did not paid attention to the "User overrides" sed/q
This commit is contained in:
parent
5e7583c5e6
commit
7cda9f063f
1 changed files with 3 additions and 1 deletions
|
|
@ -435,11 +435,13 @@ EOF
|
|||
fi
|
||||
fi
|
||||
|
||||
sed -i '/User overrides/q' /opt/postfix/conf/main.cf
|
||||
|
||||
# Append postscreen dnsbl sites to main.cf
|
||||
cat /opt/postfix/conf/dns_blocklists.cf >> /opt/postfix/conf/main.cf
|
||||
cat /tmp/spamhaus.cf >> /opt/postfix/conf/main.cf
|
||||
|
||||
sed -i '/User overrides/q' /opt/postfix/conf/main.cf
|
||||
# Append user overrides
|
||||
echo >> /opt/postfix/conf/main.cf
|
||||
touch /opt/postfix/conf/extra.cf
|
||||
sed -i '/myhostname/d' /opt/postfix/conf/extra.cf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue