From 200167458e4025e4fc5d4317382760ffa9fb05a3 Mon Sep 17 00:00:00 2001 From: andryyy Date: Wed, 29 Apr 2020 10:11:22 +0200 Subject: [PATCH] [Config] Allow to disable SOGo (unsupported, experimental) --- generate_config.sh | 2 +- update.sh | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/generate_config.sh b/generate_config.sh index 2b8e3405..8505dbc1 100755 --- a/generate_config.sh +++ b/generate_config.sh @@ -218,7 +218,7 @@ SKIP_HTTP_VERIFICATION=n SKIP_CLAMD=${SKIP_CLAMD} -# Skip SOGo: Will disable SOGo integration and therefore webmail, DAV protocols and ActiveSync support (experimental) - y/n +# Skip SOGo: Will disable SOGo integration and therefore webmail, DAV protocols and ActiveSync support (experimental, unsupported, not fully implemented) - y/n SKIP_SOGO=n diff --git a/update.sh b/update.sh index fab4b1c9..43f02cda 100755 --- a/update.sh +++ b/update.sh @@ -317,6 +317,12 @@ for option in ${CONFIG_ARRAY[@]}; do echo '# see https://wiki.dovecot.org/SSL/SNIClientSupport' >> mailcow.conf echo "ENABLE_SSL_SNI=n" >> mailcow.conf fi + elif [[ ${option} == "SKIP_SOGO" ]]; then + if ! grep -q ${option} mailcow.conf; then + echo "Adding new option \"${option}\" to mailcow.conf" + echo '# Skip SOGo: Will disable SOGo integration and therefore webmail, DAV protocols and ActiveSync support (experimental, unsupported, not fully implemented) - y/n' >> mailcow.conf + echo "SKIP_SOGO=n" >> mailcow.conf + fi elif [[ ${option} == "MAILDIR_SUB" ]]; then if ! grep -q ${option} mailcow.conf; then echo "Adding new option \"${option}\" to mailcow.conf"