fix(open-xchange): Only enable smtpSASLAuthEnable when relayHost is set

This commit is contained in:
Thorsten Roßner
2025-11-20 08:26:16 +01:00
parent cc94f0c66d
commit 70bbbf311f
2 changed files with 4 additions and 0 deletions

View File

@@ -64,6 +64,8 @@ postfix:
password:
value: {{ .Values.smtp.password }}
smtpSASLAuthEnable: "yes"
{{- else }}
smtpSASLAuthEnable: "no"
{{- end }}
allowRelayNets: false
smtpTLSSecurityLevel: "encrypt"

View File

@@ -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