SMTP configuration not compatible with Office365

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • 3
    • Severity 2 - Major
    • 2

      Problem Definition

      Attempting to configuring a SMTP connection in Crowd to Office 365 fails.
      The following appears in the Crowd logs with SSL:

      java.lang.RuntimeException: Could not send email to <email-address>: 530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection
      

      Without SSL:

      java.lang.RuntimeException: Could not send email to email@domain.com: 530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM
      Caused by: com.atlassian.crowd.event.EventJobExecutionException: Could not send email to email@domain.com: 530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM
      

      Workaround

      Configure a JNDI connection as outlined here: Office 365 SMTP Configuration throws 'Unrecognized SSL message' error and fails in Crowd

      Notes

      This causes an issue because passwords are stored in plaintext in the configuration files, which is be a security issue for some clients.

              Assignee:
              Unassigned
              Reporter:
              Daniel Ponzio
              Votes:
              14 Vote for this issue
              Watchers:
              15 Start watching this issue

                Created:
                Updated: