浏览代码

Merge pull request #5283 from superpuffin:master

Update nextcloud heper script to disable SMTP TLS host verification
Niklas Meyer 2 年之前
父节点
当前提交
0863bffdd2
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      helper-scripts/nextcloud.sh

+ 2 - 0
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