fix(encryptid): allow self-signed TLS for internal SMTP

Mailcow at mail.rmail.online uses a self-signed certificate.
Set tls.rejectUnauthorized: false for the SMTP transport.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-02-20 22:41:46 +00:00
parent ca5c1363ce
commit f313d9395d
1 changed files with 3 additions and 0 deletions

View File

@ -126,6 +126,9 @@ if (CONFIG.smtp.pass) {
user: CONFIG.smtp.user,
pass: CONFIG.smtp.pass,
},
tls: {
rejectUnauthorized: false, // Internal Mailcow uses self-signed cert
},
});
// Verify connection on startup