Unable to setup SMTP using TLS on port 587

We have been trying to setup the smtp server configuration under Jira. We have been trying to use SMTP over TLS on port 587. So far only SMTP unsecured over port 25 seems to be working. We need to a secure SMTP connection. 

1 answer

0 votes

Hi Juan,

When you state this is not working are you getting an error message or do you just not see messages coming through? 

If you cannot paste the full error message here, perhaps you can copy and paste it into a text editor and upload it as an attachment here.

In the meantime, have you reviewed the information in Configuring JIRA's SMTP mail server to send notifications?:


You can encrypt email communications between JIRA and your mail server via SSL, provided your mail server supports SSL. 

Firstly, you will need to import the SMTP server certificate into a Java keystore. The process is described on the Configuring an SSL connection to Active Directory page.

(warning) Important Note: Without importing the certificate, JIRA will not be able to communicate with your mail server.

Secondly, edit your mail server connection properties and specify starttls and SSLSocketFactory. From {$JIRA_INSTALL}/conf/server.xml (this example uses Gmail's server):

<Resource name="mail/GmailSmtpServer"

Review the above info and if you believe it's setup correctly according to those directions, the next step would be to provide the error message(s) you received.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 26, 2019 in Jira Software

How to prevent the propagation of unused project schemes, workflows & screens in Jira software

Atlassian ranks project attributes as the third most important factor impacting performance in the category of data. It’s not surprising, since project attributes are precisely the rules used to ma...

573 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you