[Postfix] Test DNS against mailcow.email

master
andryyy 2020-07-11 13:31:48 +02:00
parent ed3c58134b
commit bffa3d962a
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 2 additions and 2 deletions

View File

@ -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 <<EOF > /etc/aliases