Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-2969

RemoteDelivery should be tested against startTls/ssl

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • master
    • None
    • Remote Delivery, tests
    • None

    Description

      Many users reported issue configuring SSL/startTLS for RemoteDelivery (JAMES-2961).

      While working on the topic arised the question of being more strict upon RemoteDelivery regarding SSL/startTLS (see https://github.com/linagora/james-project/pull/2823)

      Underlying such a choice, I want to bring people attention that we currently have no integration tests on RemoteDelivery SSL / startTls, and lack the dockerized SSL SMTP servers to add this to the James test suite.

      We should:

      • Ensure that, when enabled, James uses startTls by default
      • Ensure that, when not strict, and startTls fails, james still sends the mail
      • Ensure that, when strict, and startTls fails, james do not send the mail
      • Ensure that, when enabled, James defaults to SSL
      • Ensure that, when enabled and strict, James refuses to transfer a mail to a mail server not supporting ssl.

      Tests regarding cypherSuites and protocols should be considered a bonus.

      Also, we need to check what happens when one does mix startTls with ssl options.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              btellier Benoit Tellier
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: