sendmail: add requiresValidCertificate

some apps really want a valid certificate to send mail and upstream
authors won't add support to skip self-signed certs or skip host name
check in cert. In our case, the issue is that we use 'mail' as the
server name despite having valid certs.

this flag will set the server name to the full mail server fqdn and
also reconfigure the app as needed when the mail server name changes.

we also set up the mail server name to resolve to internal IP because
no mail port is exposed when we are not receiving emails!
This commit is contained in:
Girish Ramakrishnan
2025-03-08 12:04:13 +01:00
parent 02666b7da4
commit 5d88e86462
6 changed files with 35 additions and 21 deletions

View File

@@ -24,7 +24,7 @@
"@smithy/node-http-handler": "^4.0.2",
"@smithy/util-retry": "^4.0.1",
"async": "^3.2.6",
"cloudron-manifestformat": "^5.26.2",
"cloudron-manifestformat": "^5.27.0",
"connect": "^3.7.0",
"connect-lastmile": "^2.2.0",
"connect-timeout": "^1.9.0",