IMAP CRAM-MD5 authentication method implementation for Mail Archiving

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Won't Fix
    • Component/s: None
    • Environment:

      NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? See the corresponding suggestion.

      based on David Yu's suggestion:
      "Hello Raduz, It doesn't look like we can support CRAM-MD5 out of the box after speaking with a dev. I also thought that perhaps you'd be able to articulate your requirements better if the feature request was submitted by you."

      I would like to suggest an implementation of CRAM-MD5 authentication method for the Confluence Mail Archiving feature

      as per Davis's finding:
      "I did some more testing here and found out a few things. It doesn't appear to be using atlassian-mail for this part of the code. According to my stack traces, it's using com.atlassian.confluence.mail.DefaultMailAccountManager.

      javax.mail.AuthenticationFailedException: Auth method not enabled
      at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:456)
      at javax.mail.Service.connect(Service.java:236)
      at com.atlassian.confluence.mail.DefaultMailAccountManager.getStore(DefaultMailAccountManager.java:256)
      at com.atlassian.confluence.mail.DefaultMailAccountManager.retrieveMessages(DefaultMailAccountManager.java:112)
      at com.atlassian.confluence.mail.DefaultMailAccountManager.poll(DefaultMailAccountManager.java:89)
      at com.atlassian.confluence.mail.DefaultMailAccountManager.poll(DefaultMailAccountManager.java:59)
      at com.atlassian.confluence.mail.DefaultMailAccountManager.pollAllSpaces(DefaultMailAccountManager.java:242)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      I don't see any properties file for us to set to enable CRAM-MD5 (assuming this even works). The only way I can see is modifying the source code itself to support CRAM-MD5."

      thank you
      Raduz

            Assignee:
            Unassigned
            Reporter:
            Raduz Benicky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: