From c7f9fbd43909f4013cd9f47561cfd998f2e31c4e Mon Sep 17 00:00:00 2001 From: Arthur Outhenin-Chalandre Date: Mon, 22 Jun 2020 16:42:25 +0200 Subject: [PATCH] Fix dovecot variable with whitespace Signed-off-by: Arthur Outhenin-Chalandre --- target/start-mailserver.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/start-mailserver.sh b/target/start-mailserver.sh index 498c1683..c44fa110 100644 --- a/target/start-mailserver.sh +++ b/target/start-mailserver.sh @@ -786,7 +786,7 @@ function _setup_ldap() { # _dovecot_ldap_mapping["DOVECOT_USER_FILTER"]="${DOVECOT_USER_FILTER:="${LDAP_QUERY_FILTER_USER}"}" for var in ${!_dovecot_ldap_mapping[@]}; do - export $var=${_dovecot_ldap_mapping[$var]} + export $var="${_dovecot_ldap_mapping[$var]}" done configomat.sh "DOVECOT_" "/etc/dovecot/dovecot-ldap.conf.ext"