Commit 906cce60 by Alin Voinea Committed by GitHub

Merge pull request #2 from eea/charliefd-patch-1

fix docker ip range
parents 1e390414 89b02ebe
...@@ -9,7 +9,7 @@ function setup_conf_and_secret { ...@@ -9,7 +9,7 @@ function setup_conf_and_secret {
postconf -e 'smtp_sasl_password_maps = hash:/etc/postfix/relay_passwd' postconf -e 'smtp_sasl_password_maps = hash:/etc/postfix/relay_passwd'
postconf -e 'smtp_sasl_security_options = noanonymous' postconf -e 'smtp_sasl_security_options = noanonymous'
postconf -e 'smtp_tls_security_level = encrypt' postconf -e 'smtp_tls_security_level = encrypt'
postconf -e 'mynetworks = 127.0.0.0/8 172.17.0.0/16 10.42.0.0/16' postconf -e 'mynetworks = 127.0.0.0/8 172.16.0.0/12 10.42.0.0/16'
echo "$MTP_RELAY $MTP_USER:$MTP_PASS" > /etc/postfix/relay_passwd echo "$MTP_RELAY $MTP_USER:$MTP_PASS" > /etc/postfix/relay_passwd
postmap /etc/postfix/relay_passwd postmap /etc/postfix/relay_passwd
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment