From 03c614f749bec3214f756a29de376a4061474c32 Mon Sep 17 00:00:00 2001 From: andryyy Date: Wed, 26 Jul 2017 23:04:27 +0200 Subject: [PATCH] [Postfix] Use Nginx IP in whitelist_forwardinghosts.sh --- data/Dockerfiles/postfix/whitelist_forwardinghosts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/Dockerfiles/postfix/whitelist_forwardinghosts.sh b/data/Dockerfiles/postfix/whitelist_forwardinghosts.sh index 4ad5ab32..ab066d89 100755 --- a/data/Dockerfiles/postfix/whitelist_forwardinghosts.sh +++ b/data/Dockerfiles/postfix/whitelist_forwardinghosts.sh @@ -6,7 +6,7 @@ while read QUERY; do echo "500 dunno" continue fi - result=$(curl -s http://nginx:8081/forwardinghosts.php?host=${QUERY[1]}) + result=$(curl -s http://172.22.1.251:8081/forwardinghosts.php?host=${QUERY[1]}) logger -t whitelist_forwardinghosts -p mail.info "Look up ${QUERY[1]} on whitelist, result $result" echo ${result} done