In article <1180088204.944856.205220@w5g2000hsg.googlegroups. com> Alan
<bruguy@gmail.com> writes:
>
>I've setup masquerading but it only appears to maquerade upto the
>first level; how do I make multi-level masquerades?
>
>For example, I need to masquerade abc.def.company.com as company.com
>but I can only manage to masquerade def.company.com ; multi-level
>domains pass thru unaltered.
>
>How do I masquerade *.company.com including *.*.company.com ?
>
>I've explicitly mentioned the multi-level domains in sendmail.mc but
>to no avail.
I can't think of any standard way of configuring where the number of
levels would matter, perhaps you could post your .mc file instead of
just giving vague descriptions of what you've tried. The normal way,
assuming you want *all* subdomains masqueraded, would be to use
MASQUERADE_DOMAIN(`company.com')
FEATURE(`masquerade_entire_domain')
This certainly doesn't care about the number of levels.
--Per Hedeland
per@hedeland.org