瀏覽代碼

Change to hostname, connection is not important for container start

andryyy 8 年之前
父節點
當前提交
55f6384f2a
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      data/conf/postfix/whitelist_forwardinghosts.sh

+ 2 - 2
data/conf/postfix/whitelist_forwardinghosts.sh

@@ -6,7 +6,7 @@ while read QUERY; do
 		echo "500 dunno"
 		continue
 	fi
-	result=$(curl -s http://172.22.1.251:8081/forwardinghosts.php?host=${QUERY[1]})
+	result=$(curl -s http://nginx:8081/forwardinghosts.php?host=${QUERY[1]})
 	logger -t whitelist_forwardinghosts -p mail.info "Look up ${QUERY[1]} on whitelist, result $result"
-	echo $result
+	echo ${result}
 done