Claus Assmann via Postfix-users: > 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).
Thanks. I was searching online, and could have found it in the sendmail source. Wietse _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org