dkim-dev
[Top] [All Lists]

[dkim-dev] Mails from service(_at_)paypal(_dot_)de doesn't match body hash

2008-04-10 05:29:38
I got a lot of mails with non-matching body hash, most of them sent by
service(_at_)paypal(_dot_)de(_dot_) The header signature is okay.
I have no idea what is wrong.
Body canon algo is "relaxed". The body starts with

----NextPart_048F8BC8A2197DE2036A
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=windows-1252


There are two lines of special interest:

line 1:
div.stepBox div.step1 =7Bfloat: left; width: 150px;  text-align: center;=7D

line 2:
div.stepBox div.step2 =7B  float: left;  width: 170px;  text-align: =


My canon algorithm transforms it into:

line1:
64 69 76 2e 73 74 65 70 42 6f 78 20 64 69 76 2e  *div.stepBox div.*
73 74 65 70 31 20 3d 37 42 66 6c 6f 61 74 3a 20  *step1 =7Bfloat: *
6c 65 66 74 3b 20 77 69 64 74 68 3a 20 31 35 30  *left; width: 150*
70 78 3b 20 74 65 78 74 2d 61 6c 69 67 6e 3a 20  *px; text-align: *
63 65 6e 74 65 72 3b 3d 37 44 0d 0a              *center;=7D..    *


line2:
64 69 76 2e 73 74 65 70 42 6f 78 20 64 69 76 2e  *div.stepBox div.*
73 74 65 70 32 20 3d 37 42 20 66 6c 6f 61 74 3a  *step2 =7B float:*
20 6c 65 66 74 3b 20 77 69 64 74 68 3a 20 31 37  * left; width: 17*
30 70 78 3b 20 74 65 78 74 2d 61 6c 69 67 6e 3a  *0px; text-align:*
20 3d 0d 0a                                      * =..            *

My question is: Do I have to apply a special decoding of
"quoted-printable" encoded body lines prior to canonicalization? (i.E.
removing of "=" at line end; transforming of "=7D" to "}"; or anything else?

I have tried to check this mails against several DKIM reflectors, but
get no answer at all. I think this is because the reflector sends back
its answer to the "From" or "Sender" address, but not to the "envelope
from". Unfortunately, I cannot change the "From" or "Sender" header to
my own address - this will cause the DKIM signature to fail. Is there a
way to compel a reflector to send back its result to a certain address?

Steffen

_______________________________________________
dkim-dev mailing list
dkim-dev(_at_)mipassoc(_dot_)org
http://mipassoc.org/mailman/listinfo/dkim-dev