From 148a6be7bf0d4597485bed080025c7e57091191e Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Mon, 26 Jan 2026 00:43:53 +0100 Subject: [PATCH] Stalwart: different relay config 2 --- stalwart/templates/configmap.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stalwart/templates/configmap.yaml b/stalwart/templates/configmap.yaml index 64b8393..f9abf37 100644 --- a/stalwart/templates/configmap.yaml +++ b/stalwart/templates/configmap.yaml @@ -85,7 +85,8 @@ data: secret = "%{env:STALWART_ADMIN_PASSWORD}%" [queue.strategy] - route = [ { else = "'smtp2go'" } ] + route = [ { if = "is_local_domain('', rcpt_domain)", then = "'relay'" }, + { else = "'mx'" } ] [queue.route."smtp2go"] type = "relay"