Set configomat output to loglevel debug (#2701)

This commit is contained in:
Casper 2022-07-28 20:55:21 +02:00 committed by GitHub
parent 684903f8d2
commit 428477a878
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -331,7 +331,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}"
configomat.sh "LDAP_" "${FILE}"
_log debug "$(configomat.sh "LDAP_" "${FILE}" 2>&1)"
done
_log 'trace' "Configuring Dovecot LDAP"
@ -358,7 +358,7 @@ function _setup_ldap
export "${VAR}=${DOVECOT_LDAP_MAPPING[${VAR}]}"
done
configomat.sh "DOVECOT_" "/etc/dovecot/dovecot-ldap.conf.ext"
_log debug "$(configomat.sh "DOVECOT_" "/etc/dovecot/dovecot-ldap.conf.ext" 2>&1)"
_log 'trace' 'Enabling Dovecot LDAP authentication'