Claus Assmann via Postfix-users wrote in
 <20240307053606.ga48...@veps.esmtp.org>:
 |On Wed, Mar 06, 2024, Wietse Venema via Postfix-users wrote:
 |
 |>> 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. 
 |
 |> In headers that Postfix sends to a milter. I may want to change that
 |> or at least make it configurable with an appropriate default.
 |
 |AFAICT the libmilter docs define the line endings:
 |
 |libmilter/docs/xxfi_header.html
 |
 ||headerv |Header field value. The content of the header may   |
 |||include folded white space, i.e., multiple lines    |
 |||with following white space where lines are separated|
 |||by LF (not CRLF). The trailing line terminator      |
 |||(CRLF) is removed.                           
 |
 |Changing that would probably break compatibility for milters.
 |
 |> I just checked what happens with bodies. There, the Postfix Milter
 |> client is hard coded to send lines ending in "\r\n".
 |
 |libmilter/docs/xxfi_body.html
 |
 |* End-of-lines are represented as received from SMTP (normally CRLF).

Interesting.  Read the docs (tm).
So postfix is fine out, and the fault is even more on the
digesting implementations.

One more thank you for the NC note.

--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

Reply via email to