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: Marc Heckmann (heckmannhbesoftware.com)
Date: Mon Feb 14 2000 - 09:10:44 CST


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.

>
> Wietse
>
> > So the problem is that mail outgoing with
> > the From: set to userfred.dyn-test.foo.com gets masqueraded to
> > userfoo.com... How can I tell postfix to not masquerade the domains in
> > the virtual table? Thanks in advance

        Marc Heckmann - System Administrator
        HBE Software
        heckmannhbesoftware.com www.hbesoftware.com
        Tel. (514) 876-7881 ext. 227
        Fax. (514) 876-9223