On Sat, Apr 19, 2025 at 04:50:04PM +0200, Matus UHLAR - fantomas via Postfix-users wrote:
> > I recommend against "recipient_canonical_maps", it rewrites a subset of > > the message headers, (To/Cc or Resent-To/Resent-Cc), while in almost all > > cases one should really rewrite all address-valued headers or none. > > wouldn't "recipient_canonical_classes=envelope_recipient" avoid this > problem? Use it that wya is wholly redundant, because virtual_alias_maps already handles this. > > To rewrite envelope recipients, use "virtual_aliases", not > > "recipient_canonical_maps". > > are these 100% interchangeable? Well, recipient_canonical_maps is required to be 1-to-1, while virtual alias rewriting is in principle 1-to-many, but any 1-to-1 table works with either. -- Viktor. _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org