As a side note, we are migrating to Postfix. In our current Sendmail environment, we accomplish the requisite masquerading by adding each domain to /etc/mail/local-host-names. This accomplishes the masquerading piece and allows for virtual hosting. Then for those domains we do not want to masquerade, we edit sendmail.cf and add a CN entry.
Easy peasy. On Sun, Jan 15, 2017 at 1:02 PM, Richie Rich <canongu...@gmail.com> 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. > > > > >