I'm using PHPMailer to send mails and like to append a DKIM-signature to mails. I had problems before I applied this patch. Now I'm able to send a successfull signed message to isnotspam.com.
I have successfully signed a message with less than 1500 characters in the body. If increase the character count (even with simple a's) The signature fails.
I've correctly set up a TXT domain record.
I guess it's because of the email's body cause if I use this service I always get a "wrong body hash" error.
Signature in the email header looks like this one:
DKIM-Signature: v=1; a=rsa-sha1; q=dns/txt; l=641; s=mymail;
t=1354285494; c=relaxed/simple;
h=From:To:Subject;
d=revaxarts.com;
z=From:=20"WP=203.4"=20<[email protected]>
|To:[email protected]
|Subject:=20DKIM=20Test;
bh=Sx1Rj3c65v2Hk0fmg2j5XNIDi14=;
b=n4OGAwl3i[...]AOkfUglp6iiYZ6B2M3ZKlGW5gDfE=