From 5cae935485e4f42ef8cdb6c92bfaca824555a30a Mon Sep 17 00:00:00 2001 From: Aaron Larisch Date: Tue, 12 Feb 2019 17:11:04 +0100 Subject: [PATCH] Fix empty maildir_gc.sh --- data/Dockerfiles/dovecot/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/Dockerfiles/dovecot/docker-entrypoint.sh b/data/Dockerfiles/dovecot/docker-entrypoint.sh index af6d0e35..0589579d 100755 --- a/data/Dockerfiles/dovecot/docker-entrypoint.sh +++ b/data/Dockerfiles/dovecot/docker-entrypoint.sh @@ -189,7 +189,7 @@ IMAPSYNC_TABLE=$(mysql --socket=/var/run/mysqld/mysqld.sock -u ${DBUSER} -p${DBP [[ ! -z ${IMAPSYNC_TABLE} ]] && mysql --socket=/var/run/mysqld/mysqld.sock -u ${DBUSER} -p${DBPASS} ${DBNAME} -e "UPDATE imapsync SET is_running='0'" # Envsubst maildir_gc -envsubst < /usr/local/bin/maildir_gc.sh > /usr/local/bin/maildir_gc.sh +echo "$(envsubst < /usr/local/bin/maildir_gc.sh)" > /usr/local/bin/maildir_gc.sh # Collect SA rules once now /usr/local/bin/sa-rules.sh