From b02c7618a271d8f06914bc80724e19a89116bf70 Mon Sep 17 00:00:00 2001
From: erikjohnston
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"