From bffa3d962a64093e4ad944b9c54f0397712d6313 Mon Sep 17 00:00:00 2001 From: andryyy Date: Sat, 11 Jul 2020 13:31:48 +0200 Subject: [PATCH] [Postfix] Test DNS against mailcow.email --- data/Dockerfiles/postfix/postfix.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/Dockerfiles/postfix/postfix.sh b/data/Dockerfiles/postfix/postfix.sh index db42139cd..59a566e04 100755 --- a/data/Dockerfiles/postfix/postfix.sh +++ b/data/Dockerfiles/postfix/postfix.sh @@ -10,9 +10,9 @@ while ! mysqladmin status --socket=/var/run/mysqld/mysqld.sock -u${DBUSER} -p${D sleep 2 done -while ! dig dns9.quad9.net @unbound +short >/dev/null; do +until dig +short mailcow.email @unbound > /dev/null; do echo "Waiting for DNS..." - sleep 2 + sleep 1 done cat < /etc/aliases