From b4799e8465630436a9fe2cf4d9d427c2d53f021a Mon Sep 17 00:00:00 2001 From: georglauterbach <44545919+georglauterbach@users.noreply.github.com> Date: Sun, 10 Mar 2024 18:19:30 +0100 Subject: [PATCH] add leftover Dovecot ports for PROXY protocol --- docs/content/config/advanced/kubernetes.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/content/config/advanced/kubernetes.md b/docs/content/config/advanced/kubernetes.md index f823f9f5..e60c0710 100644 --- a/docs/content/config/advanced/kubernetes.md +++ b/docs/content/config/advanced/kubernetes.md @@ -706,6 +706,11 @@ The major problem with exposing DMS to the outside world in Kubernetes is to [pr haproxy_trusted_networks = service imap-login { + inet_listener imap-proxied { + haproxy = yes + port = 10143 + } + inet_listener imaps-proxied { haproxy = yes port = 10993 @@ -714,12 +719,15 @@ The major problem with exposing DMS to the outside world in Kubernetes is to [pr } ``` - Last but not least, the `ports` section in the `Deployment` needs to be extended: + Last but not least, the `ports` section in the `Deployment` needs to be changed: ```yaml - name: smtp-proxy containerPort: 10025 protocol: TCP + - name: imap-proxy + containerPort: 10143 + protocol: TCP - name: subs-proxy containerPort: 10465 protocol: TCP