tls_mode
Since: Dev Builds Only
The functionality described in this section requires a dev build of KumoMTA. You can obtain a dev build by following the instructions in the Installation section.
Selects how TLS is established on connections accepted by this listener.
Possible values are:
-
"StartTls"- the connection begins in cleartext and the client upgrades to TLS by issuing theSTARTTLScommand. This is the default. -
"ImplicitTls"- the connection is TLS from the first byte (often referred to as SMTPS). There is noSTARTTLSnegotiation. The listener performs the TLS handshake before sending the banner.
TLS uses the same certificate configuration as STARTTLS. See
tls_certificate and tls_private_key.
When neither is set, a self-signed certificate is generated for the listener's
hostname.
When require_proxy_protocol is also enabled, the PROXY protocol header is read in cleartext before the TLS handshake.
Messages received over an ImplicitTls connection contain a tls_implicit
entry in the connection metadata, and the Received header records the session
as ESMTPS (or ESMTPSA when authenticated), the same as a session that
upgraded via STARTTLS.