Project

General

Profile

Actions

Bug #7437

closed

Mail Report package 3.1 removed support for STARTTLS

Added by Dmitry Gromov over 7 years ago. Updated almost 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
03/29/2017
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

Description

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.


Files

smtp-err1.jpg (40.7 KB) smtp-err1.jpg Dmitry Gromov, 03/31/2017 07:33 AM
smtp-err1.jpg (39.1 KB) smtp-err1.jpg Dmitry Gromov, 03/31/2017 07:59 AM
Actions

Also available in: Atom PDF