Reverse path is must to be in place to properly process bounces back if due to any reason dst will fail to get email, and that's all.
-- *Best Regards,* Dmitriy Alekseev DevOps Engineer On Sat, 19 Apr 2025, 15:40 Viktor Dukhovni via Postfix-users, < postfix-users@postfix.org> wrote: > 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 >
_______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org