Hi Peter, You are right about DKIM, I've not mentioned it because it was obvious to me: this kind of tempering should be done before any signing.
patpro July 4, 2022 7:41 AM, "Peter" <[email protected]> wrote: > I'm not aware of any server that would alter headers in this way. Keep in > mind that doing so would > be very likely to break any DKIM signature on the message. > > This type of randomization or manipulation is best done at the MUA (email > client) stage. Anything > after that should really be leaving those headers alone. > > Another thing to keep in mind is that Postfix doesn't use, or care about, > these headers (exception: > header_checks). > > Peter > > On 4/07/22 5:21 pm, [email protected] wrote: > >> Hello, >> Few days ago I've stumbled on this gem: >> https://twitter.com/gabsmashh/status/1542154330836553728 >> It made me wonder about headers manipulation so I have few questions: >> - are you aware of email servers that can/will manipulate headers so that >> recipients order is >> altered? >> - would it be possible to randomize recipients order with some header >> rewrite in Postfix? >> Thanks, >> patpro
