OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: virtual table and masquerading
From: Wietse Venema (wietseporcupine.org)
Date: Mon Feb 14 2000 - 10:16:22 CST


Marc Heckmann:
> On Sun, 13 Feb 2000, Wietse Venema wrote:
>
> > Marc Heckmann:
> > > Hi,
> > >
> > > I've recently setup postfix on one of my machines to do some
> > > testing with Dynamic DNS virtual domains. The idea is that we have a local
> > > domain foo.com, and the test subdomain dyn-test.foo.com, which has a bunch
> > > of dynamically created MX entries say, fred.dyn-test.foo.com,
> > > barney.dyn-test.foo.com, etc... these are stored in a virtual table using
> > > postfix's mysql map type.
> >
> > Good. So Postfix knows what to do when it receives mail for x.y.foo.com.
> >
> > > The problem is that this machine still has to
> > > handle outgoing mail for the regular foo.com domain, so I have a
> > > "masquerade_domains = foo.com".
> >
> > Why? What problem does this solve?
>
> The machine still has to handle regular outgoing email for our domain...
> The dynamic DNS stuff is for testing.. The machine is being used by
> several projects. Is at all possible to do both at the same time? Would
> using a canonical map help? Thanks.

Why do you need to truncate subdomains from mail addresses?

        Wietse