Jenkins fails to deliver e-mails

275 views
Skip to first unread message

S. Schmitzberger

unread,
Jun 20, 2016, 3:24:51 AM6/20/16
to Jenkins Users

This might be a tough thing to figure out but i have to give it a try.

With no changes i am aware of, my jenkins just stopped sending out e-mail notifications. I use jenkins 1.609 and email extension plugin 2.40.5. Jenkins runs as a service using a service-user who also has the rights on the server to send e-mails. Ports to our smtp-server are unlocked. Used telnet for testing that everything works as expected. SMTP-server works fine, so it has something to do with jenkins and i cant figure out what is going wrong.  When i use the test-feature that jenkins offers i get: javax.mail.AuthenticationFailedException: 535 5.7.3 Authentication unsuccessful which tells me that either user or pw is incorrect, but i've checked many times, it's setup correctly. Can anyone help out with this?

 
After decrypting the password i can safely say that jenkins does save the password correct.

 

Pw is set to not expire, because of reasons like this. Checked anyway, but its working as intended.

I also installed the Powershell-Plugin to test if Jenkins would send a mail using the script.  I created a job that sends a mail using the powershell script and another mail right after using the mailer plugin. Script works fine, mailer plugin fails.

I asked the same question on Stack Overflow, it did not solve my problem sadly.

Any help is greatly appreciated!

Slide

unread,
Jun 20, 2016, 4:05:22 AM6/20/16
to Jenkins Users

Mailer plugin is not anywhere near version 2.40.5, so that must be the version of the extended email plugin you have installed. They are configured separately in the global config, so make sure you have the configuration setup correctly for the one you are actually using.


--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/01c6e495-562d-48f4-b364-305ccf4e9d30%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

S. Schmitzberger

unread,
Jun 20, 2016, 4:10:55 AM6/20/16
to Jenkins Users
The "Email Extension Plugin" is Version 2.40.5 as mentioned above. You are referring to the "Mailer plugin" which is at Version 1.11 on my System (yes, i should have added this one as well)

Slide

unread,
Jun 20, 2016, 8:50:27 AM6/20/16
to Jenkins Users

You can enable debug mode in the global email-ext configuration area and see if there are more details.


S. Schmitzberger

unread,
Jun 21, 2016, 1:25:52 AM6/21/16
to Jenkins Users
I've attached the error message. As you can see it says that either e-mail or pw is wrong. Which, believe me on that, i have made sure many many times that this information is 100% correct.
authFail.txt

Slide

unread,
Jun 21, 2016, 4:51:14 AM6/21/16
to Jenkins Users

Can you double check that you setup the username/password in the correct plugin's config area in the global configuration? Mailer and email-ext reach gabber their own configuration for username/password.


S. Schmitzberger

unread,
Jun 21, 2016, 5:19:52 AM6/21/16
to Jenkins Users
Checked again, it is set on both

S. S.

unread,
Jun 22, 2016, 6:15:12 AM6/22/16
to Jenkins Users
Some more things i have tried:

Different users (service users, normal users, etc) - all failed
newer version of mailer plugin - no change
Reply all
Reply to author
Forward
0 new messages