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

Support disabling of StartTLS for Email Connection

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Gathering Interest (View Workflow)
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Email system
    • Labels:
      None
    • Feedback Policy:

      Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      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

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            hlam@atlassian.com Eric Lam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: