[JIRA] (JENKINS-59095) useAuth is set to false even when 'Use SMTP Authentication' is enabled and configured

3 views
Skip to first unread message

chapas@gmail.com (JIRA)

unread,
Aug 27, 2019, 3:23:02 AM8/27/19
to jenkinsc...@googlegroups.com
Ciro Horvath created an issue
 
Jenkins / Bug JENKINS-59095
useAuth is set to false even when 'Use SMTP Authentication' is enabled and configured
Issue Type: Bug Bug
Assignee: Adrien Lecharpentier
Attachments: jenkins.out-mailer-1.20.log, jenkins.out-mailer-1.21.log, jenkins.out-mailer-1.22.log, jenkins.out-mailer-1.23.log, jenkins.out-mailer-1.24.log, mailer-config.png
Components: mailer-plugin
Created: 2019-08-27 07:22
Environment: Jenkins ver. 2.176.2, Windows Server 2012 R2, Mozilla Firefox 68.0.2, Java 1.8.0_144-b01.
Plugins:
bouncycastle API 2.16.0
Command Agent Launcher 1.0
Display URL API 2.3.2
Mailer Plugin 1.24
Oracle Java SE Development Kit Installer Plugin 1.3
Script Security 1.56
Labels: mailer
Priority: Minor Minor
Reporter: Ciro Horvath

Hello Jenkins team,

I am using Jenkins 2.176.2 with the Mailer plugin and Office 365 (requires -Dmail.smtp.starttls.enable=true to enable StartTLS).

Emails stopped working after I upgraded the Mailer plugin to version 1.24. I enabled email debugging with -Dmail.debug=true and tested versions 1.20 to 1.24. I found versions 1.20 to 1.23 work fine and email is sent correctly, which I tested with the "Test configuration by sending test e-mail" functionality. When I use Mailer 1.24, useAuth is always false, which gives me this error in the logs and emails are not sent: "530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM".

 

Steps to reproduce:

1- Install Mailer 1.24 plugin and configure with Office 365 account and -Dmail.smtp.starttls.enable=true as seen in the picture mailer-config.png (standard Office 365 SMTP client submission configuration)

2- Test email sending by using the "Test configuration by sending test e-mail"

3- Jenkins says "Failed to send out e-mail" with a long java java.net.SocketException and javax.mail.MessagingException included in file jenkins.out-mailer-1.24.log

 

If any information is missing, please let me know. Thank you!

Ciro

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

tommy@sparber.net (JIRA)

unread,
Sep 3, 2019, 8:39:05 AM9/3/19
to jenkinsc...@googlegroups.com
Tommy Sparber commented on Bug JENKINS-59095
 
Re: useAuth is set to false even when 'Use SMTP Authentication' is enabled and configured

This should be fixed with the release 1.26 of the mailer-plugin.

Reply all
Reply to author
Forward
0 new messages