[pfx] Re: multiline headers sent to milters
Wietse Venema via Postfix-users <[email protected]> Thu, 16 Jul 2026 11:51:31 -0400 (EDT)
| Newsgroups | gmane.mail.postfix.user |
|---|---|
| Message-ID | <[email protected]> |
Claus Assmann via Postfix-users: > > Both milters and header_checks see a complete > > multiline header (up to some size limit), with embedded newline > > characters if I recall correctly. > > Correct. libmilter docs: > sfsistat (*xxfi_header)(SMFICTX *ctx, char *headerf, char *headerv) > > |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. | And I just confirmed (again) that the Postfix MIME parser represents multi-line headers as text with embedded (not: terminating) newlines. This is also the representation that Postfix sends to a Milter in an SMFIC_HEADER command. Wietse _______________________________________________ Postfix-users mailing list -- [email protected] To unsubscribe send an email to [email protected]