relay: force STARTTLS when testing outbound relay

haraka only supports STARTTLS
This commit is contained in:
Girish Ramakrishnan
2025-06-27 10:22:17 +02:00
parent fe9ef2e85d
commit 565859b2aa
2 changed files with 3 additions and 1 deletions

View File

@@ -216,7 +216,8 @@ async function checkSmtpRelay(relay) {
greetingTimeout: 5000,
host: relay.host,
port: relay.port,
secure: false // haraka relay only supports STARTTLS
secure: false, // true is for implicit TLS, false is for maybe STARTTLS
requireTLS: true // force STARTTLS . haraka only supports STARTTLS in outbound plugin
};
// only set auth if either username or password is provided, some relays auth based on IP (range)