From 61c8afa0881e41df930632e23e586e4c987197f5 Mon Sep 17 00:00:00 2001 From: Yorgos Bos Date: Tue, 13 Jun 2023 10:54:42 +0200 Subject: [PATCH] Fix smtp settings for nextcloud v26 --- helper-scripts/nextcloud.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helper-scripts/nextcloud.sh b/helper-scripts/nextcloud.sh index c12ecedeae..7c3e0a522d 100755 --- a/helper-scripts/nextcloud.sh +++ b/helper-scripts/nextcloud.sh @@ -178,6 +178,8 @@ elif [[ ${NC_INSTALL} == "y" ]]; then /web/nextcloud/occ --no-warnings config:system:set mail_domain --value=${MAILCOW_HOSTNAME}; \ /web/nextcloud/occ --no-warnings config:system:set mail_smtphost --value=postfix; \ /web/nextcloud/occ --no-warnings config:system:set mail_smtpport --value=588; \ + /web/nextcloud/occ --no-warnings config:system:set mail_smtpstreamoptions ssl verify_peer --value=false --type=boolean + /web/nextcloud/occ --no-warnings config:system:set mail_smtpstreamoptions ssl verify_peer_name --value=false --type=boolean /web/nextcloud/occ --no-warnings db:convert-filecache-bigint -n" # Not installing by default, broke too often