Skip to content

Commit df548cd

Browse files
authored
Merge branch 'master' into init-containers
2 parents 410ab89 + a95f358 commit df548cd

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

charts/docker-mailserver/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,8 @@ spec:
191191
- name: submission
192192
containerPort: 587
193193
{{- if .Values.proxyProtocol.enabled }}
194+
- name: smtp-proxy
195+
containerPort: 12525
194196
- name: subs-proxy
195197
containerPort: 10465
196198
- name: sub-proxy

charts/docker-mailserver/templates/service.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ spec:
5555
nodePort: {{ default "30587" .Values.service.nodePort.submission }}
5656
{{ end }}
5757
{{- if .Values.proxyProtocol.enabled }}
58+
- name: smtp-proxy
59+
targetPort: smtp-proxy
60+
port: 12525
5861
- name: subs-proxy
5962
targetPort: subs-proxy
6063
port: 10465

charts/docker-mailserver/values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,12 @@ configMaps:
598598
-o milter_macro_daemon_name=ORIGINATING
599599
-o cleanup_service_name=sender-cleanup
600600
-o smtpd_upstream_proxy_protocol=haproxy
601+
602+
# Smtp with proxy
603+
12525 inet n - n - 1 postscreen
604+
-o syslog_name=postfix/smtp-proxy
605+
-o postscreen_upstream_proxy_protocol=haproxy
606+
-o postscreen_cache_map=btree:$data_directory/postscreen_10025_cache
601607
EOS
602608
{{- end }}
603609

0 commit comments

Comments
 (0)