Commit 02574c25 by Alin Voinea

Refs #71827 - Add Rancher network to allowed MTP_RELY

parent cada36b7
...@@ -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 = may' postconf -e 'smtp_tls_security_level = may'
postconf -e 'mynetworks = 127.0.0.0/8 172.17.0.0/16' postconf -e 'mynetworks = 127.0.0.0/8 172.17.0.0/16 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