Thomas M?rbauer via Postfix-users:
> When sending a mail with a folded message-id header according to [
> https://datatracker.ietf.org/doc/html/rfc5322#section-3.2.2%29 |
> https://datatracker.ietf.org/doc/html/rfc5322#section-3.2.2 ] and
> [ https://www.postfix.org/postconf.5.html#enable_threaded_bounces |
> https://www.postfix.org/postconf.5.html#enable_threaded_bounces ] is enabled,
> then the message-id is ignored with the log message:
> "ignoring malformed Message-ID".
>
> It seems that the issue is located in the bounce_notify_util.c "Extract
> Message-ID for threaded bounces" else if block.
> Especially it seems that the if (*cp == '<' &&
> vstring_end(bounce_info->buf)[-1] == '>') can never be true if provided a
> folded header.
>
> Further it seems that the smtp smuggling fixes that replace the \r \n with
> spaces did not change anything on that behavior.
> This means that message-ids that are exceeding the 78 lines + crlf and are
> therefore folded (as in [
> https://datatracker.ietf.org/doc/html/rfc5322#section-2.2.3 |
> https://datatracker.ietf.org/doc/html/rfc5322#section-2.2.3 ] )
> will not generate any In-Reply-To Header in DSNs.
> Is this a bug or is this an intended behavior to only allow single-line
> message-ids?
Which folding whitespace space in "Message-ID: <stuff>" did you have in mind?
Wietse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]