mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-10-08 22:26:24 +08:00
Fixed issue where relayhost was set instead of mynetworks. (#3)
This commit is contained in:
parent
56e02ffd33
commit
9ef3f944af
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ fi
|
||||||
#postconf -e mynetworks=hash:$network_table
|
#postconf -e mynetworks=hash:$network_table
|
||||||
|
|
||||||
if [[ ! -z "$MYNETWORKS" ]]; then
|
if [[ ! -z "$MYNETWORKS" ]]; then
|
||||||
postconf -e relayhost=$MYNETWORKS
|
postconf -e mynetworks=$MYNETWORKS
|
||||||
else
|
else
|
||||||
postconf -e "mynetworks=127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16"
|
postconf -e "mynetworks=127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue