File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments