mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-02-25 07:02:56 +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
|
||||
|
||||
if [[ ! -z "$MYNETWORKS" ]]; then
|
||||
postconf -e relayhost=$MYNETWORKS
|
||||
postconf -e mynetworks=$MYNETWORKS
|
||||
else
|
||||
postconf -e "mynetworks=127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue