Fix dovecot variable with whitespace

Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
This commit is contained in:
Arthur Outhenin-Chalandre 2020-06-22 16:42:25 +02:00
parent e150307339
commit c7f9fbd439
No known key found for this signature in database
GPG key ID: 3D615139173BD92E

View file

@ -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"