Self-Hosting: Mail system ignores tls parameter

(#634) Bug Closed: Fixed self-hosting

Summary

When the field "SMTP Host" in /admin/instance-config is set to a local ip-address (192.168.X.X) and "Use TLS" checkmark is unchecked the system ignores it and still tries to use TLS, leading to mail not sending.

Steps to reproduce

  1. Set "SMTP Host" to local address
  2. Uncheck "Use TLS"
  3. Try to send mail
  4. Observe "Hostname/IP does not match certificate's altnames" message in logs

Environment

OS: Debian 13

Logs or screenshots

image Parameters in admin, FLUXER_EMAIL_SMTP_SECURE is also set to false image The error

1 comment

Sign in with Fluxer to comment and vote.
Comment by Rex
RexSystem 1 vote
Status changed from Needs triage to Fixed
Fixed in the self-hosted api 2026.1011.113345: SMTP now has explicit TLS modes (implicit TLS, STARTTLS or none), and the setting is honoured.
Deleted comment
Removed by moderator Rex: Removed a general status note that was posted on many GitHub threads. It no longer applies here.