Add port to the SMARTHOST var

This commit is contained in:
Daniel Berteaud 2023-08-25 16:47:19 +02:00
parent e2b71cf1b9
commit 5a19972dc3
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ job "smtp-relay" {
LOCAL_DOMAINS = ""
RELAY_FROM_HOSTS = "127.0.0.1"
DISABLE_SENDER_VERIFICATION = "true"
SMARTHOST = [[ .mail.relay.host | toJSON ]]
SMARTHOST = "[[ .mail.relay.host ]]::[[ .mail.relay.port ]]"
[[ template "common/env.tpl" .mail.relay.env ]]
}