summary refs log tree commit diff
path: root/develop/usage
diff options
context:
space:
mode:
authorerikjohnston <erikjohnston@users.noreply.github.com>2022-07-25 15:28:01 +0000
committererikjohnston <erikjohnston@users.noreply.github.com>2022-07-25 15:28:01 +0000
commitb02c7618a271d8f06914bc80724e19a89116bf70 (patch)
treefc7c7acbfc882a2f2487df19d9b604bafbf55cae /develop/usage
parentdeploy: c7c84b81e3ec3d66f3a57a8d6ba3e58dd4c81ecc (diff)
downloadsynapse-b02c7618a271d8f06914bc80724e19a89116bf70.tar.xz
deploy: e8519e0ed289b67fa07c1bdbb6898852dc1a50b9
Diffstat (limited to 'develop/usage')
-rw-r--r--develop/usage/configuration/config_documentation.html11
1 files changed, 10 insertions, 1 deletions
diff --git a/develop/usage/configuration/config_documentation.html b/develop/usage/configuration/config_documentation.html
index 9f96da087b..5c537e735a 100644
--- a/develop/usage/configuration/config_documentation.html
+++ b/develop/usage/configuration/config_documentation.html
@@ -2823,13 +2823,21 @@ adding a 3PID).</p>
 <p><code>smtp_host</code>: The hostname of the outgoing SMTP server to use. Defaults to 'localhost'.</p>
 </li>
 <li>
-<p><code>smtp_port</code>: The port on the mail server for outgoing SMTP. Defaults to 25.</p>
+<p><code>smtp_port</code>: The port on the mail server for outgoing SMTP. Defaults to 465 if <code>force_tls</code> is true, else 25.</p>
+<p><em>Changed in Synapse 1.64.0:</em> the default port is now aware of <code>force_tls</code>.</p>
 </li>
 <li>
 <p><code>smtp_user</code> and <code>smtp_pass</code>: Username/password for authentication to the SMTP server. By default, no
 authentication is attempted.</p>
 </li>
 <li>
+<p><code>force_tls</code>: By default, Synapse connects over plain text and then optionally upgrades
+to TLS via STARTTLS. If this option is set to true, TLS is used from the start (Implicit TLS),
+and the option <code>require_transport_security</code> is ignored.
+It is recommended to enable this if supported by your mail server.</p>
+<p><em>New in Synapse 1.64.0.</em></p>
+</li>
+<li>
 <p><code>require_transport_security</code>: Set to true to require TLS transport security for SMTP.
 By default, Synapse will connect over plain text, and will then switch to
 TLS via STARTTLS <em>if the SMTP server supports it</em>. If this option is set,
@@ -2913,6 +2921,7 @@ ownership. Defaults to &quot;[%(server_name)s] Validate your email&quot;</li>
   smtp_port: 587
   smtp_user: &quot;exampleusername&quot;
   smtp_pass: &quot;examplepassword&quot;
+  force_tls: true
   require_transport_security: true
   enable_tls: false
   notif_from: &quot;Your Friendly %(app)s homeserver &lt;noreply@example.com&gt;&quot;