Self-Hosting: Mail system ignores tls parameter

(#634) Bug Needs triage 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
  • 609454248-acf78de4-390f-4357-b72e-5f6ff20d3d8f.png

    609454248-acf78de4-390f-4357-b72e-5f6ff20d3d8f.png

    756×355 | 62 kB

  • 609454812-2835deae-e517-4ff8-b67c-33cede48f9ac.png

    609454812-2835deae-e517-4ff8-b67c-33cede48f9ac.png

    1192×40 | 7 kB

0 comments

Sign in with Fluxer to comment and vote.
Deleted comment
Removed by moderator Rex: Removed a general status note that was posted on many GitHub threads. It no longer applies here.