Skip to content

Commit

Permalink
Merge branch 'master' into init-containers
Browse files Browse the repository at this point in the history
  • Loading branch information
cfis authored Jul 11, 2024
2 parents 410ab89 + a95f358 commit df548cd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/docker-mailserver/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ spec:
- name: submission
containerPort: 587
{{- if .Values.proxyProtocol.enabled }}
- name: smtp-proxy
containerPort: 12525
- name: subs-proxy
containerPort: 10465
- name: sub-proxy
Expand Down
3 changes: 3 additions & 0 deletions charts/docker-mailserver/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ spec:
nodePort: {{ default "30587" .Values.service.nodePort.submission }}
{{ end }}
{{- if .Values.proxyProtocol.enabled }}
- name: smtp-proxy
targetPort: smtp-proxy
port: 12525
- name: subs-proxy
targetPort: subs-proxy
port: 10465
Expand Down
6 changes: 6 additions & 0 deletions charts/docker-mailserver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,12 @@ configMaps:
-o milter_macro_daemon_name=ORIGINATING
-o cleanup_service_name=sender-cleanup
-o smtpd_upstream_proxy_protocol=haproxy
# Smtp with proxy
12525 inet n - n - 1 postscreen
-o syslog_name=postfix/smtp-proxy
-o postscreen_upstream_proxy_protocol=haproxy
-o postscreen_cache_map=btree:$data_directory/postscreen_10025_cache
EOS
{{- end }}
Expand Down

0 comments on commit df548cd

Please sign in to comment.