Skip to content

Local SMTP relays with a self-signed certificate

Latest

Choose a tag to compare

@btouchard btouchard released this 22 Nov 18:52
b4f8ab6

maintenant 1.13.1 delivers mail to a local SMTP relay that presents a self-signed certificate.

Email

  • The certificate of a local SMTP server is no longer verified, on STARTTLS and on implicit TLS (port 465) alike. Local means localhost, a host name without a dot such as smtp-relay, or a loopback or private address, IPv4 or IPv6. Until now such a relay received nothing unless its certificate was added to MAINTENANT_CA_CERT: the send failed on the TLS handshake.
  • Any other host is verified as before, against the system roots plus MAINTENANT_CA_CERT.
  • The connection to a local relay stays encrypted. When MAINTENANT_SMTP_USERNAME and MAINTENANT_SMTP_PASSWORD are set, the credentials are sent to that relay without its certificate being checked.

Upgrading

No migration. The Helm chart moves to 1.13.1, the same as the application version.

The full documentation is at docs.maintenant.dev.