I'd be strongly against the removal of these parameters. In an installation I once had to make I was absolutely dependent on the sender_canonical_maps due to a one-way rewrite:
Quote from documentation: Example: you want to rewrite the SENDER address "user@ugly.domain" to "user@pretty.domain", while still being able to send mail to the RECIPIENT address "user@ugly.domain". smtp_generic_maps didn't work in that particular case because this setting rewrites the e-mail address for ANY remote host, in my example this was the local Exchange server. So the rewritten addresses were logically not accepted by the Exchange server. For special cases like this the sender_canonical_maps is the perfect solution. On Fri, Nov 18, 2011 at 6:01 PM, Viktor Dukhovni <postfix-us...@dukhovni.org > wrote: > On Fri, Nov 18, 2011 at 08:30:37AM +0100, Claudio Kuenzler wrote: > > > Victor, take a look at my e-mail sent 3 days ago in the same thread. I > > already mentioned the smtp_generic_maps there (order before canonical). > > Regardless of past thread history, advice to use wildcard canonical > mappings on internet-facing Postfix servers is still bad. > > Likewise, one should avoid sender_canonical_maps and > recipient_canonical_maps. If it were not an incompatible change, > I'd suggest we should remove these parameters from Postfix. > > -- > Viktor. >