OpenDKIM icon indicating copy to clipboard operation
OpenDKIM copied to clipboard

Support Truncating Lines Longer than 1000 Charachters

Open TheBlueMatt opened this issue 4 years ago • 0 comments
trafficstars

Some MUAs violate the SMTP RFC and send mail with lines longer than 1000 characters [1]. In the case of postfix, these lines are forwarded as-is to the milter[2], only truncated later by inserting <CR><LF><SPACE>[3]. This causes DKIM failures as the signing occurs before the mail is changed. It would be nice if there would be an option to expect such changes ala FixCRLF.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1731007 [2] https://marc.info/?l=postfix-users&m=163176643901328&w=2 [3] http://www.postfix.org/postconf.5.html#smtp_line_length_limit

TheBlueMatt avatar Sep 17 '21 01:09 TheBlueMatt