Hello Wietse Venema :) Wietse Venema via Postfix-users wrote in <4tqhxw0ksyzj...@spike.porcupine.org>: |Steffen Nurpmeso via Postfix-users: |> Wietse Venema via Postfix-users wrote in |> <4tqh100n6pzj...@spike.porcupine.org>: |>|Are you trying to say that Postfix represents a multiline message |>|header as text with \n instead of \r\n? |> |> Yes. ... |>|I agree that \r\n would be better, but I'm surprised that this has |>|not come up before. .. |Every Received: header is multiline, and it is not unusual to have
These are not "usually" DKIM signed i'd say. |multiline Subject:, To:, and other common headers. Yes. |Again, Postfix does not store line terminators, not when email comes |from UNIX tool with \n, via SMTP with \r\n, or encapsulated as |netstrings which uses neither. OK then there is nothing i can do on the MUA side. |Instead, Postfix generates line terminators upon output, and until |now they are always \n. | |Postfix systems have been signing with Milters since Postfix Milter |support was added in 2006. I'm just surprised that the non-canoncal |line endings in a multiline header have not been a problem before. My milter now treats LF and CR not in a CRLF as real whitespace. The email i just sent was accepted by Google, this one should also wrap, and we see what this software does (rspamd is it i think). So it seems to me, without having looked what OpenDKIM does, and maybe i should explicitly Cc: Scott Kitterman for his dkimpy, but i know he is on this list, just let's wait a bit, that all these DKIM milters do it falsely, and treat LF and CR other than the combination of CRLF as whitespace. Even though WSP is defined by "RFC 5234, B.1. Core Rules:" as "WSP = SP / HT; white space", and that is what the DKIM and email standards go for. For the latter i explicitly asked a month or so ago. So they break the email standard, postfix does, too, and in combination all is fine again. --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt) _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org