mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-28 22:08:42 +02:00
fix: correct ENV export
Thanks to @polarathene for his feedback in https://github.com/docker-mailserver/docker-mailserver/pull/4323#pullrequestreview-2561071322 Signed-off-by: georglauterbach <44545919+georglauterbach@users.noreply.github.com>
This commit is contained in:
parent
70eedac293
commit
06f7d42f46
3 changed files with 32 additions and 35 deletions
|
@ -38,7 +38,6 @@ function _register_functions() {
|
|||
# ? >> Checks
|
||||
|
||||
_register_check_function '_check_hostname'
|
||||
_register_check_function '_check_log_level'
|
||||
_register_check_function '_check_spam_prefix'
|
||||
|
||||
# ? >> Setup
|
||||
|
@ -63,7 +62,6 @@ function _register_functions() {
|
|||
;;
|
||||
|
||||
( 'LDAP' )
|
||||
_environment_variables_ldap
|
||||
_register_setup_function '_setup_ldap'
|
||||
;;
|
||||
|
||||
|
@ -76,15 +74,8 @@ function _register_functions() {
|
|||
;;
|
||||
esac
|
||||
|
||||
if [[ ${ENABLE_OAUTH2} -eq 1 ]]; then
|
||||
_environment_variables_oauth2
|
||||
_register_setup_function '_setup_oauth2'
|
||||
fi
|
||||
|
||||
if [[ ${ENABLE_SASLAUTHD} -eq 1 ]]; then
|
||||
_environment_variables_saslauthd
|
||||
_register_setup_function '_setup_saslauthd'
|
||||
fi
|
||||
[[ ${ENABLE_OAUTH2} -eq 1 ]] && _register_setup_function '_setup_oauth2'
|
||||
[[ ${ENABLE_SASLAUTHD} -eq 1 ]] && _register_setup_function '_setup_saslauthd'
|
||||
|
||||
_register_setup_function '_setup_dovecot_inet_protocols'
|
||||
|
||||
|
@ -138,7 +129,7 @@ function _register_functions() {
|
|||
_register_start_daemon '_start_daemon_cron'
|
||||
_register_start_daemon '_start_daemon_rsyslog'
|
||||
|
||||
[[ ${SMTP_ONLY} -ne 1 ]] && _register_start_daemon '_start_daemon_dovecot'
|
||||
[[ ${SMTP_ONLY} -ne 1 ]] && _register_start_daemon '_start_daemon_dovecot'
|
||||
|
||||
if [[ ${ENABLE_UPDATE_CHECK} -eq 1 ]]; then
|
||||
if [[ ${DMS_RELEASE} != 'edge' ]]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue