From b60fe39b5c7f6479180495eb76a52b77385fb92d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorsten=20Ro=C3=9Fner?= Date: Tue, 20 Aug 2024 16:22:42 +0200 Subject: [PATCH] fix(helmfile): Remove toggle `functional.email.systemGenerated.useComponentInSenderdomain`. Mails will no longer use a component subdomain in their sender address. --- docs/getting-started.md | 2 ++ helmfile/apps/element/values-synapse.yaml.gotmpl | 2 +- .../apps/nextcloud/values-nextcloud-mgmt.yaml.gotmpl | 2 +- helmfile/apps/nubus/values-nubus.yaml.gotmpl | 2 +- helmfile/apps/openproject/values.yaml.gotmpl | 2 +- helmfile/apps/xwiki/values.yaml.gotmpl | 2 +- helmfile/environments/default/functional.yaml | 9 ++------- 7 files changed, 9 insertions(+), 12 deletions(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index e6c74925..09b2fa61 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -263,6 +263,8 @@ To use the openDesk functionality with its web based user interface you need to | Component | Description | Port | Type | | ------------------ | ----------------------- | ----: | ---: | +| openDesk | Kubernetes Ingress | 80 | TCP | +| openDesk | Kubernetes Ingress | 443 | TCP | | Jitsi Video Bridge | ICE Port for video data | 10000 | UDP | #### Mail clients diff --git a/helmfile/apps/element/values-synapse.yaml.gotmpl b/helmfile/apps/element/values-synapse.yaml.gotmpl index 9d41d51a..6e47980b 100644 --- a/helmfile/apps/element/values-synapse.yaml.gotmpl +++ b/helmfile/apps/element/values-synapse.yaml.gotmpl @@ -54,7 +54,7 @@ configuration: enabled: {{ .Values.functional.dataProtection.matrixPresence.enabled }} smtp: - senderAddress: "{{ .Values.smtp.localpartNoReply }}@{{ if .Values.functional.email.systemGenerated.useComponentInSenderdomain }}{{ .Values.global.hosts.element }}.{{ end }}{{ .Values.global.domain }}" + senderAddress: "{{ .Values.smtp.localpartNoReply }}@{{ .Values.global.domain }}" host: {{ printf "%s.%s.svc.%s" "postfix" (.Values.postfix.namespace | default .Release.Namespace) .Values.cluster.networking.domain | quote }} port: 25 tls: false diff --git a/helmfile/apps/nextcloud/values-nextcloud-mgmt.yaml.gotmpl b/helmfile/apps/nextcloud/values-nextcloud-mgmt.yaml.gotmpl index aeeebe65..0e7b4bd2 100644 --- a/helmfile/apps/nextcloud/values-nextcloud-mgmt.yaml.gotmpl +++ b/helmfile/apps/nextcloud/values-nextcloud-mgmt.yaml.gotmpl @@ -83,7 +83,7 @@ configuration: host: {{ printf "%s.%s.svc.%s" "postfix" (.Values.postfix.namespace | default .Release.Namespace) .Values.cluster.networking.domain | quote }} port: 25 fromAddress: {{ .Values.smtp.localpartNoReply | quote }} - mailDomain: "{{ if .Values.functional.email.systemGenerated.useComponentInSenderdomain }}{{ .Values.global.hosts.nextcloud }}.{{ end }}{{ .Values.global.domain }}" + mailDomain: "{{ .Values.global.domain }}" security: "" skipVerifyPeer: true quota: diff --git a/helmfile/apps/nubus/values-nubus.yaml.gotmpl b/helmfile/apps/nubus/values-nubus.yaml.gotmpl index ad81d8de..81daa02f 100644 --- a/helmfile/apps/nubus/values-nubus.yaml.gotmpl +++ b/helmfile/apps/nubus/values-nubus.yaml.gotmpl @@ -166,7 +166,7 @@ nubusKeycloakExtensions: appConfig: logLevel: {{ if .Values.debug.enabled }}"DEBUG"{{ else }}"WARN"{{ end }} newDeviceLoginSubject: "New device login on your {{ .Values.theme.texts.productName }} account" - mailFrom: "{{ .Values.smtp.localpartNoReply }}@{{ if .Values.functional.email.systemGenerated.useComponentInSenderdomain }}{{ .Values.global.hosts.keycloak }}.{{ end }}{{ .Values.global.domain }}" + mailFrom: "{{ .Values.smtp.localpartNoReply }}@{{ .Values.global.domain }}" nubusPortalListener: portalListener: diff --git a/helmfile/apps/openproject/values.yaml.gotmpl b/helmfile/apps/openproject/values.yaml.gotmpl index 858d6390..e93a0f6f 100644 --- a/helmfile/apps/openproject/values.yaml.gotmpl +++ b/helmfile/apps/openproject/values.yaml.gotmpl @@ -67,7 +67,7 @@ environment: OPENPROJECT_SMTP__AUTHENTICATION: "none" OPENPROJECT_SMTP__ENABLE__STARTTLS__AUTO: "false" OPENPROJECT_SMTP__OPENSSL__VERIFY__MODE: "none" - OPENPROJECT_MAIL__FROM: "{{ .Values.smtp.localpartNoReply }}@{{ if .Values.functional.email.systemGenerated.useComponentInSenderdomain }}{{ .Values.global.hosts.openproject }}.{{ end }}{{ .Values.global.domain }}" + OPENPROJECT_MAIL__FROM: "{{ .Values.smtp.localpartNoReply }}@{{ .Values.global.domain }}" OPENPROJECT_HOME__URL: {{ printf "https://%s.%s/" .Values.global.hosts.nubus .Values.global.domain | quote }} OPENPROJECT_OPENID__CONNECT_KEYCLOAK_ISSUER: "https://{{ .Values.global.hosts.keycloak }}.{{ .Values.global.domain }}/realms/{{ .Values.platform.realm }}" OPENPROJECT_OPENID__CONNECT_KEYCLOAK_POST__LOGOUT__REDIRECT__URI: "https://{{ .Values.global.hosts.openproject }}.{{ .Values.global.domain }}/" diff --git a/helmfile/apps/xwiki/values.yaml.gotmpl b/helmfile/apps/xwiki/values.yaml.gotmpl index 24448bde..382b5194 100644 --- a/helmfile/apps/xwiki/values.yaml.gotmpl +++ b/helmfile/apps/xwiki/values.yaml.gotmpl @@ -137,7 +137,7 @@ properties: "property:xwiki:XWiki.XWikiServerXwiki^XWiki.XWikiServerClass.server": "{{ .Values.global.hosts.xwiki }}.{{ .Values.global.domain }}" "property:xwiki:XWiki.XWikiServerXwiki^XWiki.XWikiServerClass.port": 443 ## SMTP settings - "property:xwiki:Mail.MailConfig^Mail.SendMailConfigClass.from": "{{ .Values.smtp.localpartNoReply }}@{{ if .Values.functional.email.systemGenerated.useComponentInSenderdomain }}{{ .Values.global.hosts.xwiki }}.{{ end }}{{ .Values.global.domain }}" + "property:xwiki:Mail.MailConfig^Mail.SendMailConfigClass.from": "{{ .Values.smtp.localpartNoReply }}@{{ .Values.global.domain }}" "property:xwiki:Mail.MailConfig^Mail.SendMailConfigClass.host": {{ printf "%s.%s.svc.%s" "postfix" (.Values.postfix.namespace | default .Release.Namespace) .Values.cluster.networking.domain | quote }} "property:xwiki:Mail.MailConfig^Mail.SendMailConfigClass.port": 25 "property:xwiki:Mail.MailConfig^Mail.SendMailConfigClass.properties": "mail.smtp.starttls.enable=false" diff --git a/helmfile/environments/default/functional.yaml b/helmfile/environments/default/functional.yaml index b6766679..3eb28132 100644 --- a/helmfile/environments/default/functional.yaml +++ b/helmfile/environments/default/functional.yaml @@ -30,11 +30,6 @@ functional: # Disable to not support Matrix federation with your installation. enabled: true - email: - systemGenerated: - # By disabling all mails are sent from @ instead of @.. - useComponentInSenderdomain: true - filestore: quota: # Set the default quota for all users in GB @@ -50,11 +45,11 @@ functional: # Ref.: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#versions-retention-obligation versions: "auto" # yamllint enable rule:line-length - + dataProtection: matrixPresence: # Enable to allow information about the user presence status to be shared. # Ref.: https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#presence enabled: false - + ...