Commit 22ecc4d8 by luiz.nunes

Update docker-setup.sh

parent 0783592c
...@@ -15,6 +15,9 @@ function setup_conf_and_secret { ...@@ -15,6 +15,9 @@ function setup_conf_and_secret {
#postmap /etc/postfix/relay_passwd #postmap /etc/postfix/relay_passwd
} }
postconf -e "relayhost = [$MTP_RELAY]:$MTP_PORT"
postconf -e 'mynetworks = 127.0.0.0/8 192.168.32.0/19 172.19.0.0/16'
if [ -z "$MTP_INTERFACES" ]; then if [ -z "$MTP_INTERFACES" ]; then
postconf -e "inet_interfaces = all" postconf -e "inet_interfaces = all"
else else
......
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