From c6a3aec8edc724195606ae375da537970fdd69e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Geoffrey=20Gu=C3=A9ret?= Date: Tue, 3 Feb 2026 22:34:27 +0100 Subject: [PATCH] fix: fallback to standard mail ports when no exposure method configured --- charts/mailu/templates/_services.tpl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/charts/mailu/templates/_services.tpl b/charts/mailu/templates/_services.tpl index 8f5cecdf..8339cf47 100644 --- a/charts/mailu/templates/_services.tpl +++ b/charts/mailu/templates/_services.tpl @@ -208,6 +208,11 @@ Service fqdn (within cluster) can be retrieved with `mailu.SERVICE.serviceFqdn` {{- end -}} {{- end -}} +{{- /* Fallback to standard mail ports when using external ingress */ -}} +{{- if not $enabledPorts -}} + {{- $enabledPorts = list "25" "465" "587" "143" "993" -}} +{{- end -}} + {{- $enabledPortsString := join "," $enabledPorts -}} {{- printf "%s" $enabledPortsString -}} {{- end -}}