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:
parent
ca5c1363ce
commit
f313d9395d
|
|
@ -126,6 +126,9 @@ if (CONFIG.smtp.pass) {
|
||||||
user: CONFIG.smtp.user,
|
user: CONFIG.smtp.user,
|
||||||
pass: CONFIG.smtp.pass,
|
pass: CONFIG.smtp.pass,
|
||||||
},
|
},
|
||||||
|
tls: {
|
||||||
|
rejectUnauthorized: false, // Internal Mailcow uses self-signed cert
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
// Verify connection on startup
|
// Verify connection on startup
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue