I'm using JIRA 4.1.2 and have a JNDI smtp setup very similar to what the JIRA documentation describes:
<Resource name=
"mail/JiraMailServer"
auth=
"Container"
type=
"javax.mail.Session"
mail.smtp.host=
"mail.yourcompany.com"
mail.smtp.port=
"25"
mail.transport.protocol=
"smtp"
mail.smtp.auth=
"true"
mail.smtp.user=
"jirauser"
password=
"mypassword"
/>
</Context>
My solution to the was to upgrade my javamail jar from 1.4.1 to 1.4.6. I was able to connect fine after that!
Hi there,
I've found some other cases that indicate that this issue can be related to setting the SMTP server in JIRA not using an encrypted protocol. Aparently some SMTP servers require encrypted connection.
I know, it doesn't explain why it would work in the new version of JIRA using the same settings, but I think it'd worth a shot.
For this test, you may want to see this documentation. Alternatively, you can add some extra start up parameters to your JVM for encrypted communication during the authentication phase - mail.smtp.starttls.enable.
This parameter is set up during the start up phase. More info about that can be found in Setting properties and options on startup.
I hope this helps.
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your response! However, since I know for sure our SMTP port is 25, doesn't that mean we can't be using an encrypted connection?? And I already tried the starttls parameter... :-(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.