Are you trying to say that Postfix represents a multiline message
header as text with \n instead of \r\n?

That is very well possible. Postfix strips \n and \r\n line terminators
on input, and the MIME parser synthesizes multiline headers with
\n boundaries thusly, before they are sent to header_checks or
Milter:

                if (IS_SPACE_TAB(*text)) {
                    if (LEN(state->output_buffer) < var_header_limit) {
                        vstring_strcat(state->output_buffer, "\n");
                        vstring_strncat(state->output_buffer, text, len);

That code was written years before Postfix Milter support and DKIM
plugins.

I agree that \r\n would be better, but I'm surprised that this has
not come up before.

        Wietse 
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to