mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-01-14 04:35:43 +02:00
[Postfix] Test DNS against mailcow.email
This commit is contained in:
parent
ed3c58134b
commit
bffa3d962a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user