diff --git a/helmfile/apps/open-xchange/values-postfix.yaml.gotmpl b/helmfile/apps/open-xchange/values-postfix.yaml.gotmpl index 16b4c76f..8fcbe508 100644 --- a/helmfile/apps/open-xchange/values-postfix.yaml.gotmpl +++ b/helmfile/apps/open-xchange/values-postfix.yaml.gotmpl @@ -64,6 +64,8 @@ postfix: password: value: {{ .Values.smtp.password }} smtpSASLAuthEnable: "yes" + {{- else }} + smtpSASLAuthEnable: "no" {{- end }} allowRelayNets: false smtpTLSSecurityLevel: "encrypt" diff --git a/helmfile/apps/services-external/values-postfix.yaml.gotmpl b/helmfile/apps/services-external/values-postfix.yaml.gotmpl index 430d3187..c22c28fb 100644 --- a/helmfile/apps/services-external/values-postfix.yaml.gotmpl +++ b/helmfile/apps/services-external/values-postfix.yaml.gotmpl @@ -72,6 +72,8 @@ postfix: password: value: {{ .Values.smtp.password }} smtpSASLAuthEnable: "yes" + {{- else }} + smtpSASLAuthEnable: "no" {{- end }} # Warning: This setting allows unauthenticated mail relay from relayNets! allowRelayNets: true