diff options
author | cynhr <cynhr@posteo.net> | 2024-12-18 01:05:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-17 18:05:38 -0600 |
commit | f1ecf4664780068056dc7ede16d3c2ac4f20b909 (patch) | |
tree | cf1c763281632573d214960f37c6240f20d0385d /synapse/util/stringutils.py | |
parent | Add `macaroon_secret_key_path` config option (#17983) (diff) | |
download | synapse-f1ecf4664780068056dc7ede16d3c2ac4f20b909.tar.xz |
Add email.tlsname config option (#17849)
The existing `email.smtp_host` config option is used for two distinct purposes: it is resolved into the IP address to connect to, and used to (request via SNI and) validate the server's certificate if TLS is enabled. This new option allows specifying a different name for the second purpose. This is especially helpful, if `email.smtp_host` isn't a global FQDN, but something that resolves only locally (e.g. "localhost" to connect through the loopback interface, or some other internally routed name), that one cannot get a valid certificate for. Alternatives would of course be to specify a global FQDN as `email.smtp_host`, or to disable TLS entirely, both of which might be undesirable, depending on the SMTP server configuration.
Diffstat (limited to 'synapse/util/stringutils.py')
0 files changed, 0 insertions, 0 deletions