mirror of
https://gitlab.opencode.de/bmi/opendesk/deployment/opendesk.git
synced 2025-12-07 16:01:37 +01:00
fix(open-xchange): Postfix to support submissions and external secrets
This commit is contained in:
committed by
Thorsten Roßner
parent
0df6212ca9
commit
13ab665900
@@ -46,10 +46,6 @@ postfix:
|
|||||||
hostname: "postfix"
|
hostname: "postfix"
|
||||||
inetProtocols: "ipv4"
|
inetProtocols: "ipv4"
|
||||||
milterDefaultAction: "tempfail"
|
milterDefaultAction: "tempfail"
|
||||||
overrides:
|
|
||||||
- fileName: "sasl_passwd.map"
|
|
||||||
content:
|
|
||||||
- {{ printf "%s %s:%s" .Values.smtp.host .Values.smtp.username .Values.smtp.password | quote }}
|
|
||||||
{{- if .Values.apps.dkimpy.enabled }}
|
{{- if .Values.apps.dkimpy.enabled }}
|
||||||
dkimpyHost: "opendesk-dkimpy-milter.{{ .Release.Namespace }}.svc.{{.Values.cluster.networking.domain }}:8892"
|
dkimpyHost: "opendesk-dkimpy-milter.{{ .Release.Namespace }}.svc.{{.Values.cluster.networking.domain }}:8892"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -58,7 +54,17 @@ postfix:
|
|||||||
smtpdTLSMandatoryCiphers: "high"
|
smtpdTLSMandatoryCiphers: "high"
|
||||||
|
|
||||||
rspamdHost: ""
|
rspamdHost: ""
|
||||||
relayHost: {{ if .Values.smtp.host }}{{ printf "[%s]:%d" .Values.smtp.host .Values.smtp.port | quote }}{{ else }}""{{ end }}
|
{{- if .Values.smtp.host }}
|
||||||
|
relayHost:
|
||||||
|
enabled: true
|
||||||
|
host: {{ .Values.smtp.host }}
|
||||||
|
port: {{ .Values.smtp.port }}
|
||||||
|
authentication:
|
||||||
|
username:
|
||||||
|
value: {{ .Values.smtp.username }}
|
||||||
|
password:
|
||||||
|
value: {{ .Values.smtp.password }}
|
||||||
|
{{- end }}
|
||||||
allowRelayNets: false
|
allowRelayNets: false
|
||||||
smtpSASLAuthEnable: "yes"
|
smtpSASLAuthEnable: "yes"
|
||||||
smtpSASLPasswordMaps: "lmdb:/etc/postfix/sasl_passwd.map"
|
smtpSASLPasswordMaps: "lmdb:/etc/postfix/sasl_passwd.map"
|
||||||
|
|||||||
@@ -54,19 +54,24 @@ postfix:
|
|||||||
hostname: "postfix"
|
hostname: "postfix"
|
||||||
inetProtocols: "ipv4"
|
inetProtocols: "ipv4"
|
||||||
milterDefaultAction: "accept"
|
milterDefaultAction: "accept"
|
||||||
overrides:
|
|
||||||
- fileName: "sasl_passwd.map"
|
|
||||||
content:
|
|
||||||
- {{ printf "%s %s:%s" .Values.smtp.host .Values.smtp.username .Values.smtp.password | quote }}
|
|
||||||
{{- if .Values.apps.dkimpy.enabled }}
|
{{- if .Values.apps.dkimpy.enabled }}
|
||||||
dkimpyHost: "opendesk-dkimpy-milter.{{ .Release.Namespace }}.svc.{{.Values.cluster.networking.domain }}:8892"
|
dkimpyHost: "opendesk-dkimpy-milter.{{ .Release.Namespace }}.svc.{{.Values.cluster.networking.domain }}:8892"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
rspamdHost: ""
|
rspamdHost: ""
|
||||||
relayHost: {{ if .Values.smtp.host }}{{ printf "[%s]:%d" .Values.smtp.host .Values.smtp.port | quote }}{{ else }}""{{ end }}
|
{{- if .Values.smtp.host }}
|
||||||
|
relayHost:
|
||||||
|
enabled: true
|
||||||
|
host: {{ .Values.smtp.host }}
|
||||||
|
port: {{ .Values.smtp.port }}
|
||||||
|
authentication:
|
||||||
|
username:
|
||||||
|
value: {{ .Values.smtp.username }}
|
||||||
|
password:
|
||||||
|
value: {{ .Values.smtp.password }}
|
||||||
|
{{- end }}
|
||||||
# Warning: This setting allows unauthenticated mail relay from relayNets!
|
# Warning: This setting allows unauthenticated mail relay from relayNets!
|
||||||
relayNets: {{ join " " .Values.cluster.networking.cidr | quote }}
|
|
||||||
allowRelayNets: true
|
allowRelayNets: true
|
||||||
|
relayNets: {{ join " " .Values.cluster.networking.cidr | quote }}
|
||||||
|
|
||||||
minTLSVersion: "TLSv1.3"
|
minTLSVersion: "TLSv1.3"
|
||||||
smtpdTLSMandatoryCiphers: "high"
|
smtpdTLSMandatoryCiphers: "high"
|
||||||
|
|||||||
@@ -429,7 +429,7 @@ charts:
|
|||||||
registry: "registry.opencode.de"
|
registry: "registry.opencode.de"
|
||||||
repository: "bmi/opendesk/components/platform-development/charts/opendesk-postfix"
|
repository: "bmi/opendesk/components/platform-development/charts/opendesk-postfix"
|
||||||
name: "postfix"
|
name: "postfix"
|
||||||
version: "4.0.0"
|
version: "5.0.0"
|
||||||
verify: true
|
verify: true
|
||||||
postgresql:
|
postgresql:
|
||||||
# providerCategory: "Platform"
|
# providerCategory: "Platform"
|
||||||
|
|||||||
Reference in New Issue
Block a user