Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
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).