DKIM-for-JavaMail icon indicating copy to clipboard operation
DKIM-for-JavaMail copied to clipboard

DKIM signature is failed for 8bit encoding

Open krish93 opened this issue 8 years ago • 3 comments

When the content transfer encoding is 8bit, all the mail that are signed is getting failed. Have attached the eml of the failed mail. Please provide the fix for this isssue. dkim_8bit.txt

krish93 avatar May 18 '17 21:05 krish93

I'm facing the same issue. Is there any update?

davidef avatar Dec 18 '17 16:12 davidef

Convert the 8bit encoded mail to quoted-printable before signing It will solve the issue you are facing. Refer this url https://tools.ietf.org/html/rfc4871#section-5.3

krish93 avatar Dec 19 '17 18:12 krish93

Thanks, mine issue was that for some reason "mail.smtp.allow8bitmime" was set to true causing JavaMail to automatically convert messages back to 8bit

davidef avatar Dec 20 '17 17:12 davidef