On Tue, Feb 13, 2024 at 06:32:14PM +0100, Geert Hendrickx via Postfix-users
wrote:
> On Tue, Feb 13, 2024 at 12:23:32 -0500, Wietse Venema via Postfix-users wrote:
> > - masquerade_domains complicates table-driven address validation.
> > Log a deprecation warning with compatibility_levels>=3.9.
>
>
> What's the alternative for masquerade_domains ?
It is canonical_maps, ideally with explicit mappings for each expected
non-canonical address. For an outbound-only Postfix relay or submission
instance, the canonical mapping could use wildcards or regular
expression mappings. Though in the same context (no inbound mail) the
use of "masquerade_domains" has little down-side.
Of course it is best dealt with at the source by configuring the
client systems to use the correct domain.
--
Viktor.
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]