Hello, My Postfix is 3.4.23-0+deb10u2. It's old.
I got a rare mail with the Resent-Sender header and no other Resent- headers. Since I configured the local_header_rewrite_clients, cleanup(8) insert the missing Resent- headers for this mail. According to RFC 5322 Appendix A.3. (https://datatracker.ietf.org/doc/html/rfc5322#appendix-A.3) resent fields are prepended to the message: ---- Resent-From: Mary Smith <[email protected]> Resent-To: Jane Brown <[email protected]> Resent-Date: Mon, 24 Nov 1997 14:22:01 -0800 Resent-Message-ID: <[email protected]> From: John Doe <[email protected]> To: Mary Smith <[email protected]> Subject: Saying Hello Date: Fri, 21 Nov 1997 09:55:06 -0600 Message-ID: <[email protected]> This is a message just to say hello. So, "Hello". ---- However cleanup(8) didn't prepend but append. It's like below: ---- From: John Doe <[email protected]> To: Mary Smith <[email protected]> Subject: Saying Hello Date: Fri, 21 Nov 1997 09:55:06 -0600 Message-ID: <[email protected]> Resent-From: Mary Smith <[email protected]> Resent-To: Jane Brown <[email protected]> Resent-Date: Mon, 24 Nov 1997 14:22:01 -0800 Resent-Message-ID: <[email protected]> This is a message just to say hello. So, "Hello". ---- There is another interesting behavior that if there is no Message-Id header, cleanup(8) won't insert the Message-Id header and append all missing Resent- headers. _______________________________________________ Postfix-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
