Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-95036

Entering "465" for mail server port does not enable SMTPS configurations

    XMLWordPrintable

Details

    Description

      Issue Summary

      This is reproducible on Data Center: yes

      Entering "465" for mail server port does not enable SMTPS configurations. This issue didn't exist in 7.19.x

      The mail server properties in the bandana table show the following which is not correct:

       <name>Mail Server</name>
                <password>0000000</password>
                <port>465</port>
                <props>
                  <property name="mail.debug" value="false"/>
                  <property name="mail.transport.protocol" value="smtp"/>
                  <property name="mail.smtp.port" value="465"/>
                  <property name="mail.smtp.quitwait" value="false"/>
                  <property name="mail.null.auth" value="false"/>
                  <property name="mail.smtp.timeout" value="10000"/>
                  <property name="mail.smtp.auth" value="true"/>
                  <property name="mail.smtp.starttls.enable" value="true"/>
                  <property name="mail.smtp.host" value="host_address"/>
                  <property name="mail.smtp.connectiontimeout" value="10000"/>
                </props> 

      As the javamail article  "if you're using the "smtps" protocol to access SMTP over SSL, all the properties would be named "mail.smtps.*". which isn't happening in 8.5.7

      Steps to Reproduce

      1. Go to General configuration >> Mail server >> Add a new SMTP mail server
      2. Enter the information for the mail server and use port 465 >> Save{}
      3. Go back to "View Mail Servers" page, notice that it shows "SMTP" under protocol instead of SMTPS

      Note: Performing the same steps on 7.19.x DOES show "SMTPS" under the protocol column in the View Mail Servers page.

       

      Expected Results

      SMTPS protocol should be used whenever the 465 port as in version 7.19.x (see screenshots) or a drop-down list should offer to choose SMTP or SECURE_SMTP when configuring a mail server similar to Jira

      Actual Results

      Unable to use SMTPS even when entering the SMTPS port

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available

      Attachments

        1. confluence_7.19.x.png
          confluence_7.19.x.png
          212 kB
        2. confluence_8.5.7.png
          confluence_8.5.7.png
          249 kB

        Activity

          People

            Unassigned Unassigned
            mkurdi@atlassian.com Mohamed K
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: