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

GreenMail needs to be patched to support a mail server on different machine from test server

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 2.10
    • 2.10
    • None
    • Weblogic 9.2.3 and Confluence 2.10

    Description

      If the acceptance tests are running on a different machine from the test server then test that need to talk to the SMTP server will fail.

      Greenmail 1.3 doesn't pass the javax.mail.Session the host.name parameter meaning that localhost is always assumed.

      See GreenMailUtil#getSession. It creates Properties to be used in Session.getSession(props) but does not include the host.name.

      We'll probably need to patch and release a new internal GreenMail version. I see no later version and no issues for this problem in their issue tracker.

      Attachments

        Activity

          People

            pcurren Paul Curren
            pcurren Paul Curren
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: