Commit 1113bc98 by charliefd Committed by GitHub

null host address bits

postfix complaines about non-null host address bits in mynetworks
parent 1235143c
...@@ -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.16.0.0/12 10.42.0.0/8' postconf -e 'mynetworks = 127.0.0.0/8 172.16.0.0/12 10.0.0.0/8'
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