On Sat, Apr 19, 2025 at 01:31:28PM +0200, Dmitriy Alekseev wrote: > I do not rewrite any headers and have 0 intention to do so as it break > existing dkim and arc signatures. No modification except envelopes needed.
Therefore, avoid 'recipient_canonical_maps', and if you need envelope sender rewrites set "sender_canonical_classes" as suggested. > > > Using sender_canonical_maps is better when you send mail to the > > > internet, e.g. forward it - so mail recveived from internet will not > > > have sender rewritten, but any mail forwarded from your system with > > > remote sender address will. > > > > There is no dedicated equivaelnt mechanism to rewrite just envelope > > senders on input, but the combination of: > > > > sender_canonical_classes = envelope_sender > > sender_canonical_maps = ... > > > > is close enough. For header rewriting, use "canonical_maps", which > > consistently rewrites all headers. -- Viktor. _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org