Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jira dont work with mailgun.org

Tags:

smtp

jira

mailgun

I have an issue with Mailgun.org in combination with our selfhosted Jira.

I want to add it as SMTP Outgoing, but he said Username/Password Error. Yeah , I triple checked the Username/Password combination.

In Confluence, Bamboo, Stash work the same Configuration fine.

The atlassian-jira.log just said:

2014-01-24 11:49:32,219 http-bio-8080-exec-22 ERROR xx 709x65334x1 hub9zg xx,127.0.0.1 /secure/admin/VerifySmtpServerConnection!update.jspa [plugins.mail.webwork.VerifyMailServer] Unable to authenticate to smtp.mailgun.org

Without TLS, the same.

If I try a Gmail Account, its works fine.

Any ideas?

like image 528
Dennis Wisnia Avatar asked Jan 24 '14 10:01

Dennis Wisnia


2 Answers

I had the same issue and spoke to Jira support. It turns out the 'Test Connection' button was returning that it had failed with Unable to authenticate to smtp.mailgun.org message.

However if you actually add the Mailgun details as a smtp server it works correctly. You can verify by sending a test email afterwards.

They have added a bug report for this issue. https://jira.atlassian.com/browse/JRA-41342

like image 142
b3n Avatar answered Sep 22 '22 13:09

b3n


Here is what worked for me. Very confusing since I receive an error message if I set it up any other way.

Protocol: SMTP (do not use secure smtp option)

Host Name: smtp.mailgun.org

SMTP Port: 587

Timeout: 10000

TLS: Enabled (checked)

Username/Password: Your mailgun postmaster username and password

like image 35
LR2 Avatar answered Sep 22 '22 13:09

LR2