On Thu, Sep 05, 2024 at 01:56:51PM +0200, Thomas Mörbauer via Postfix-users wrote:
> When sending a mail with a folded message-id header ... then the > message-id is ignored with the log message: "ignoring malformed > Message-ID". There really SHOULD NOT be any folding whitespace in the middle of a Message-ID. https://datatracker.ietf.org/doc/html/rfc5322#section-3.6.4 I hope you're not basing your argument on the obsolete forms. message-id = "Message-ID:" msg-id CRLF in-reply-to = "In-Reply-To:" 1*msg-id CRLF references = "References:" 1*msg-id CRLF msg-id = [CFWS] "<" id-left "@" id-right ">" [CFWS] id-left = dot-atom-text / obs-id-left id-right = dot-atom-text / no-fold-literal / obs-id-right no-fold-literal = "[" *dtext "]" > Further it seems that the smtp smuggling fixes that replace the \r \n > with spaces did not change anything on that behavior. This has nothing to do with bare CR or bare LF handling. > This means that message-ids that are exceeding the 78 lines + crlf and > are therefore folded [...] There is no hard requirement to fold at 78 characters, the limit is 998 bytes. And Message-Id SHOULD not be folded, even if over 78 bytes long. I think it is fine for Postfix to treat folded Message-IDs as malformed. -- Viktor. _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org