From b02c7618a271d8f06914bc80724e19a89116bf70 Mon Sep 17 00:00:00 2001 From: erikjohnston Date: Mon, 25 Jul 2022 15:28:01 +0000 Subject: deploy: e8519e0ed289b67fa07c1bdbb6898852dc1a50b9 --- develop/usage/configuration/config_documentation.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'develop/usage') 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).

smtp_host: The hostname of the outgoing SMTP server to use. Defaults to 'localhost'.

  • -

    smtp_port: The port on the mail server for outgoing SMTP. Defaults to 25.

    +

    smtp_port: The port on the mail server for outgoing SMTP. Defaults to 465 if force_tls is true, else 25.

    +

    Changed in Synapse 1.64.0: the default port is now aware of force_tls.

  • smtp_user and smtp_pass: Username/password for authentication to the SMTP server. By default, no authentication is attempted.

  • +

    force_tls: 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 require_transport_security is ignored. +It is recommended to enable this if supported by your mail server.

    +

    New in Synapse 1.64.0.

    +
  • +
  • require_transport_security: 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 if the SMTP server supports it. If this option is set, @@ -2913,6 +2921,7 @@ ownership. Defaults to "[%(server_name)s] Validate your email"

  • smtp_port: 587 smtp_user: "exampleusername" smtp_pass: "examplepassword" + force_tls: true require_transport_security: true enable_tls: false notif_from: "Your Friendly %(app)s homeserver <noreply@example.com>" -- cgit 1.4.1