Bug #14994
closedmailreport - authentication failure
0%
Description
Hello,
I use pfSense 23.05.1-RELEASE and mailreport 3.6.4_1 package.
I first configured SMTP (System | Advanced | Notifications). The use of my SMTP requires authentication. The test included in the pfSense UI works, the mail is sent and received. However, using Email Report the mail is not received. The SMTP error is : "SASL CRAM-MD5 authentication failed: authentication failure".
It's possible that there's an error in the configuration of my SMTP (postfix), but why then does the test mail work? What's different with the Email Report ?
The authentication works by forcing Mail->Username variable in the mail_report.inc code with the username value, without quote. With quotes, I get an authentication failure.
Thanks for tour ideas.
Updated by lc 63 over 1 year ago
Error fixed. In my postfix, the authentication mechanisms was : CRAM-MD5 DIGEST-MD5 LOGIN PLAIN. Normally, authentication is supposed to use these methods. But it seems we have to reduce them to LOGIN and PLAIN with mailreport.
Since authentication works with the test mail in the pfSense SMTP configuration, I'm not sure whether mailreport uses the mechanism indicated in this configuration.