On 11/25/2015 10:31 AM, Andy A wrote: > Thanks for the information. I have now made sure that the message is > converted to printed-quotable before DKIM signing. > That results in DKIM verification pass but the message now is limited to 76 > character length and each line longer than 76 characters ends with a '=' and > a line break for the lest of the line. >
Yes, that is what QP encoding does to the raw file. The recipient's mail client will reassemble the message to its original format when read. > What appropriate MIME heards and ESMTP attributes are expected to not violate > RFCs so that the 8bit message can pass the DKIM verification as well? > MIME is described in RFC2045 and RFC2046. Generally the easiest way to convert a message is to disable the 8BITMIME ehlo keyword on the postfix instance before the signing milter, and it is converted on the fly. Add -o smtpd_discard_ehlo_keywords=8BITMIME,silent-discard to the master.cf smtpd instance where mail is submitted to be signed. http://www.postfix.org/postconf.5.html#smtpd_discard_ehlo_keywords -- Noel Jones