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 @@ -174,6 +174,8 @@ spec:
174174 - name : submission
175175 containerPort : 587
176176 {{- if .Values.proxyProtocol.enabled }}
177+ - name : smtp-proxy
178+ containerPort : 12525
177179 - name : subs-proxy
178180 containerPort : 10465
179181 - 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 @@ -577,6 +577,12 @@ configMaps:
577577 -o milter_macro_daemon_name=ORIGINATING
578578 -o cleanup_service_name=sender-cleanup
579579 -o smtpd_upstream_proxy_protocol=haproxy
580+
581+ # Smtp with proxy
582+ 12525 inet n - n - 1 postscreen
583+ -o syslog_name=postfix/smtp-proxy
584+ -o postscreen_upstream_proxy_protocol=haproxy
585+ -o postscreen_cache_map=btree:$data_directory/postscreen_10025_cache
580586 EOS
581587 {{- end }}
582588
You can’t perform that action at this time.
0 commit comments