Fixed issue where relayhost was set instead of mynetworks. (#3)

This commit is contained in:
Riaan Hanekom 2017-10-27 11:29:09 +02:00 committed by Boky
parent 56e02ffd33
commit 9ef3f944af

View file

@ -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