James jDKIM
  1. James jDKIM
  2. JDKIM-28

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 0.2
    • Fix Version/s: 0.2
    • Component/s: None
    • Labels:
      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).

        Activity

          People

          • Assignee:
            Stefano Bagnara
            Reporter:
            Stefano Bagnara
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development