removal: configomat (submodule) (#3045)

This commit is contained in:
Georg Lauterbach 2023-02-05 12:39:05 +01:00 committed by GitHub
parent 9df71c27a0
commit 00b1d88ed7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 114 additions and 17 deletions

View file

@ -380,7 +380,7 @@ function _setup_ldap
[[ ${FILE} =~ ldap-aliases ]] && export LDAP_QUERY_FILTER="${LDAP_QUERY_FILTER_ALIAS}"
[[ ${FILE} =~ ldap-domains ]] && export LDAP_QUERY_FILTER="${LDAP_QUERY_FILTER_DOMAIN}"
[[ ${FILE} =~ ldap-senders ]] && export LDAP_QUERY_FILTER="${LDAP_QUERY_FILTER_SENDERS}"
_log debug "$(configomat.sh "LDAP_" "${FILE}" 2>&1)"
[[ -f ${FILE} ]] && _replace_by_env_in_file 'LDAP_' "${FILE}"
done
_log 'trace' "Configuring Dovecot LDAP"
@ -407,7 +407,7 @@ function _setup_ldap
export "${VAR}=${DOVECOT_LDAP_MAPPING[${VAR}]}"
done
_log debug "$(configomat.sh "DOVECOT_" "/etc/dovecot/dovecot-ldap.conf.ext" 2>&1)"
_replace_by_env_in_file 'DOVECOT_' '/etc/dovecot/dovecot-ldap.conf.ext'
_log 'trace' 'Enabling Dovecot LDAP authentication'