From ff3b2218706a98b854c072de62105aa8352e3949 Mon Sep 17 00:00:00 2001 From: Thomas Kaltenbrunner Date: Wed, 1 Oct 2025 21:24:18 +0200 Subject: [PATCH] fix(open-xchange): Don't enable sasl auth when no relay host is set --- helmfile/apps/open-xchange/values-postfix.yaml.gotmpl | 3 +-- helmfile/apps/services-external/values-postfix.yaml.gotmpl | 3 +-- helmfile/environments/default/charts.yaml.gotmpl | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/helmfile/apps/open-xchange/values-postfix.yaml.gotmpl b/helmfile/apps/open-xchange/values-postfix.yaml.gotmpl index a6acfb4f..a7d74f1c 100644 --- a/helmfile/apps/open-xchange/values-postfix.yaml.gotmpl +++ b/helmfile/apps/open-xchange/values-postfix.yaml.gotmpl @@ -63,10 +63,9 @@ postfix: value: {{ .Values.smtp.username }} password: value: {{ .Values.smtp.password }} + smtpSASLAuthEnable: "yes" {{- end }} allowRelayNets: false - smtpSASLAuthEnable: "yes" - smtpSASLPasswordMaps: "lmdb:/etc/postfix/sasl_passwd.map" smtpTLSSecurityLevel: "encrypt" smtpdSASLAuthEnable: "yes" smtpdSASLSecurityOptions: "noanonymous" diff --git a/helmfile/apps/services-external/values-postfix.yaml.gotmpl b/helmfile/apps/services-external/values-postfix.yaml.gotmpl index d4881739..d98a9236 100644 --- a/helmfile/apps/services-external/values-postfix.yaml.gotmpl +++ b/helmfile/apps/services-external/values-postfix.yaml.gotmpl @@ -68,14 +68,13 @@ postfix: value: {{ .Values.smtp.username }} password: value: {{ .Values.smtp.password }} + smtpSASLAuthEnable: "yes" {{- end }} # Warning: This setting allows unauthenticated mail relay from relayNets! allowRelayNets: true relayNets: {{ join " " .Values.cluster.networking.cidr | quote }} minTLSVersion: "TLSv1.2" smtpdTLSMandatoryCiphers: "medium" - smtpSASLAuthEnable: "yes" - smtpSASLPasswordMaps: "lmdb:/etc/postfix/sasl_passwd.map" smtpTLSSecurityLevel: "encrypt" smtpdSASLAuthEnable: "yes" smtpdSASLSecurityOptions: "noanonymous" diff --git a/helmfile/environments/default/charts.yaml.gotmpl b/helmfile/environments/default/charts.yaml.gotmpl index 42c4246c..04581e03 100644 --- a/helmfile/environments/default/charts.yaml.gotmpl +++ b/helmfile/environments/default/charts.yaml.gotmpl @@ -437,7 +437,7 @@ charts: registry: "registry.opencode.de" repository: "bmi/opendesk/components/platform-development/charts/opendesk-postfix" name: "postfix" - version: "5.0.0" + version: "5.0.1" verify: true postgresql: # providerCategory: "Platform"