Open mitridatik opened 5 years ago
What if you try reading from attachment stream
as explained in https://haraka.github.io/manual/Transaction.html , that is, via pipe
mechanism? Will you get the same results?
Sorry, checked again and it still removes \r even if reading from stream through pipe as you suggested.
system info
Expected behavior
Attached emails are broken after Haraka processing. Viewing them in MS Outlook show problems.
Observed behavior
Haraka changes \r\n to \n for attached email and removes first dot from email body. Attached email looks broken in MS Outlook.
Steps to reproduce
Create a plugin from this code
Send this email
We will get this in HEX (\r removed):
[core] 46 72 6f 6d 3a 20 3c 74 6f 40 65 78 61 6d 70 6c 65 2e 63 6f 6d 3e a
We can also see that Haraka removes dots. In this example ..shape {behavior:url(#default#VML);} becomes .shape {behavior:url(#default#VML);}