From 7a2c0f2ee7ac52ec6d87138da4f845b812a0e3e6 Mon Sep 17 00:00:00 2001 From: andryyy Date: Fri, 18 Aug 2017 09:57:25 +0200 Subject: [PATCH] [Acme] Skip backup mx domains --- data/Dockerfiles/acme/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/Dockerfiles/acme/docker-entrypoint.sh b/data/Dockerfiles/acme/docker-entrypoint.sh index 616a6b81..c6bf76ca 100755 --- a/data/Dockerfiles/acme/docker-entrypoint.sh +++ b/data/Dockerfiles/acme/docker-entrypoint.sh @@ -79,7 +79,7 @@ while true; do while read domain; do SQL_DOMAIN_ARR+=("${domain}") - done < <(mysql -h mysql-mailcow -u ${DBUSER} -p${DBPASS} ${DBNAME} -e "SELECT domain FROM domain" -Bs) + done < <(mysql -h mysql-mailcow -u ${DBUSER} -p${DBPASS} ${DBNAME} -e "SELECT domain FROM domain WHERE backupmx=0" -Bs) while read alias_domain; do SQL_DOMAIN_ARR+=("${alias_domain}") done < <(mysql -h mysql-mailcow -u ${DBUSER} -p${DBPASS} ${DBNAME} -e "SELECT alias_domain FROM alias_domain" -Bs)