[lug] Sendmail masquerading

Scott A. Herod herod at interact-tv.com
Fri Oct 5 12:24:10 MDT 2001


That's the trick.  Thanks, John.

Scott

John Hernandez wrote:
> 
> Scott, try this token in your mc file, then recompile:
> 
> masquerade_entire_domain
>                 If masquerading is enabled (using MASQUERADE_AS) and
>                 MASQUERADE_DOMAIN (see below) is set, this feature will
>                 cause addresses to be rewritten such that the masquerading
>                 domains are actually entire domains to be hidden.  All
>                 hosts within the masquerading domains will be rewritten
>                 to the masquerade name (used in MASQUERADE_AS).  For example,
>                 if you have:
> 
>                         MASQUERADE_AS(`masq.com')
>                         MASQUERADE_DOMAIN(`foo.org')
>                         MASQUERADE_DOMAIN(`bar.com')
> 
>                 then *foo.org and *bar.com are converted to masq.com.  Without
>                 this feature, only foo.org and bar.com are masqueraded.
> 
>                     NOTE: only domains within your jurisdiction and
>                     current hierarchy should be masqueraded using this.
> 
> Check out the file {sendmail-source}/cf/README for more info on the m4 macros available.
> 
> -John



More information about the LUG mailing list