Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Latest mailreports package has STARTTLS broken

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 1 Posters 682 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      dgcom
      last edited by

      Just opened a bug report in redmine, here is the details in case someone will be searching forums.

      https://redmine.pfsense.org/issues/7437

      I had pfSense configured to send mail reports via FastMail on port 587 with STARTTLS.
      All worked great until recent package upgrade when suddenly I stopped receiving daily status emails.
      Initial check showed that test mail from Notification configuration works fine, but sending reports fails.
      Finally got some time to troubleshoot.
      Adding $mail->SMTPDebug = 2; to mail_reports.inc reports "SMTP Error: Could not authenticate."

      But I can see that STARTTLS still works on another install with package version 3.0_1.
      Comparing mail_reports.inc between versions revealed that package no longer sets $mail->SMTPSecure =  "tls"; when "Enable STARTTLS" checkbox is checked in Notification configuration.

      Luckily, I can switch to SSL on port 465 for now, but I would appreciate if this can be fixed - current situation is very misleading because system notifications still work properly.

      DG

      1 Reply Last reply Reply Quote 0
      • D
        dgcom
        last edited by

        Interestingly, the bug was rejected - by people who do not know the difference between STARTLS and SMTPS… Fascinating :(

        DG

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.