Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-5680

Support disabling of StartTLS for Email Connection

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 4.4.0
    • 4.2.0, 4.0.3, 4.1.1
    • Email system
    • None

    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.

      1. 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"
             />
          
          ...
          
      2. Restart Crowd
      3. Once Crowd is up, navigate to the Crowd Administration » General Settings » Mail configuration and choose:
        • JNDI location specifying: java:comp/env/mail/CrowdMailServer
      4. Try sending a test Mail

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hlam@atlassian.com Eric Lam
              Votes:
              8 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: