Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.2.0, 4.0.3, 4.1.1
-
None
-
8
-
Severity 3 - Minor
-
8
-
Description
Issue
Crowd Mail Server configuration does not offer the option to disable TLS.
From Crowd v4.1.1, Crowd defaults to using STARTTLS even for non TLS Mail Servers and therefore fails to connect to the Mail Server.
Expected
Provide a tick box for "TLS" on the front end Crowd Administration » General Settings » Mail configuration as per our other Atlassian Server products.
Work Around
Follow the steps described in:
and create a JNDI connection with a line to disable TLS.
- Backup and edit <crowd-install>/apache-tomcat/conf/Catalina/localhost/crowd.xml
- Add inside the Context block as such:
Set the below your_userid and your_password values as required
... <Resource name="mail/CrowdMailServer" auth="Container" type="javax.mail.Session" mail.smtp.host="<mail-server>" mail.smtp.port="25" mail.transport.protocol="smtp" mail.smtp.auth="true" mail.smtp.user="your_userid" mail.smtp.starttls.enable="false" password="your_password" /> ...
- Add inside the Context block as such:
- Restart Crowd
- Once Crowd is up, navigate to the Crowd Administration » General Settings » Mail configuration and choose:
- JNDI location specifying: java:comp/env/mail/CrowdMailServer
- Try sending a test Mail