Thank you. I understand, but this requirement is imposed by my business unit...
I haven't tried canonical_maps yet, but I was about to head down that road. I'll give it a shot. On Sun, Jan 15, 2017 at 1:12 PM, Viktor Dukhovni <postfix-us...@dukhovni.org > wrote: > On Sun, Jan 15, 2017 at 01:02:37PM -0500, Richie Rich wrote: > > Thanks for the replies. I really appreciate the help. > > > > I am already leveraging /etc/postfix/virtual to route traffic to my > "hosted > > domains". > > > > The problem I'm trying to solve, simply stated, is that I need to be able > > to selectively masquerade inbound email to my hosted domains. > > So, u...@doma.com will see his mail addressed to u...@doma.com, but > > u...@domb.com might see his mail addressed to u...@myco.com, our > canonical > > domain name. > > I recommend against masquerading, because it breaks recipient > validation. Instead, construct a table of all the valid addresses > for each user, and use canonical_maps. > > -- > Viktor. >