Commit 70cf2cd
committed
fix(docker-mailserver): stop exposing plaintext IMAP by default
Port 143 (and its proxyProtocol variant 10143) was included in the
Service unconditionally whenever IMAP is enabled, alongside 993 -
meaning plaintext, unencrypted IMAP was reachable from outside the
cluster on any deployment using this chart with a LoadBalancer/NodePort
service. Confirmed reachable in production.
Adds service.exposePlaintextImap (default false) - only TLS IMAPS
(993) is exposed unless explicitly opted into.
Signed-off-by: Rishi <rishi@obmondo.com>1 parent a5b0f4a commit 70cf2cd
2 files changed
Lines changed: 15 additions & 6 deletions
File tree
- argocd-helm-charts/docker-mailserver/charts/docker-mailserver
- templates
Lines changed: 10 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
79 | | - | |
| 80 | + | |
80 | 81 | | |
81 | | - | |
| 82 | + | |
| 83 | + | |
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
85 | | - | |
| 87 | + | |
86 | 88 | | |
87 | | - | |
| 89 | + | |
88 | 90 | | |
| 91 | + | |
89 | 92 | | |
90 | 93 | | |
91 | 94 | | |
| 95 | + | |
92 | 96 | | |
93 | 97 | | |
94 | 98 | | |
95 | | - | |
96 | | - | |
| 99 | + | |
| 100 | + | |
97 | 101 | | |
98 | 102 | | |
99 | 103 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
326 | 331 | | |
327 | 332 | | |
328 | 333 | | |
| |||
0 commit comments