mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-19 17:28:12 +00:00
[Postfix] Use name instead of IP
This commit is contained in:
1 parent
d24bb16947
commit
a7a7b3f3fd
1 file changed
+1
-1
@@ -6,7 +6,7 @@ while read QUERY; do
|
|||||||
echo "500 dunno"
|
echo "500 dunno"
|
||||||
continue
|
continue
|
||||||
fi
|
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"
|
logger -t whitelist_forwardinghosts -p mail.info "Look up ${QUERY[1]} on whitelist, result $result"
|
||||||
echo ${result}
|
echo ${result}
|
||||||
done
|
done
|
||||||
Reference in new issue
Block a user