Uploaded image for project: 'James jDKIM'
  1. James jDKIM
  2. JDKIM-28

DKIMSign and DKIMVerify mailets don't work by default in JAMES

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.2
    • 0.2
    • None
    • None

    Description

      By default javamail works with LF line separators.
      When we use message.writeTo end of lines are LF. Instead when SMTPTransport sends the message to another server it introduce a CRLFOutputStream in the middle so to respect the RFC.
      DKIM says that it is possible to sign only CRLF messages. As it is hard to change the CRLF before the mailet we should better compute hashes as if LF were CRLF so that when sent the message will be ok (the same is true for verifier too).

      Attachments

        Activity

          People

            bago Stefano Bagnara
            bago Stefano Bagnara
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: