Jak zabranit prepisovani (masquerade) pro urcite virtualni do meny
Rehor Petr
p.rehor na decros.cz
Středa Květen 10 15:21:33 CEST 2000
V cf/README se pise :
Normally the only addresses that are masqueraded are those
that come
from this host (that is, are either unqualified or in $=w, the
list
of local domain names). You can augment this list using
MASQUERADE_DOMAIN(otherhost.domain)
The effect of this is that although mail to
user na otherhost.domain
will not be delivered locally, any mail including any
user na otherhost.domain
will, when relayed, be rewritten to have the MASQUERADE_AS
address.
Takze vsechny domeny co jsou v sendmail.cw se maskaraduji. Pokud to
chci
zmenit. musim vsechny domeny, ktere se maji maskaradovat vypsat v
MASQUERADE_DOMAIN
Pak je tam jeste jedna uzitecnost:
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:
FEATURE(masquerade_entire_domain)
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.
Coz znamena, ze kdyz neni definovana ficura masquerade_entire_domain
tak
se maskarada tyka pouze uvedenych domen, pokud je, tak i jejich
subdomen.
Petr Rehor
---------------------------------------------------------------------
DECROS s.r.o. J.S.Baara 40, Ceske Budejovice, Czech Republic
Tel: +420-38-7312808 Fax: +420-38-7311480 http://www.decros.cz
> -----Original Message-----
> From: Lubos Polacek [mailto:Lubos.Polacek na micos.cz]
> Sent: Wednesday, May 10, 2000 12:11 PM
> To: 'sendmail na linux.cz'
> Subject: Jak zabranit prepisovani (masquerade) pro urcite virtualni
> domeny
>
>
> Zdravim vsechny,
>
> Potreboval bych zakazat pro urcite virtualni domeny
> prepisovani domeny v adrese. Jedna se o linux se
> sendmail.8.9.3, ktery spravuje postu pro vice virtualnich
> domen a ma zapnutou maskaradu pres:
>
> FEATURE(`masquerade_envelope')
> MASQUERADE_AS(neco.cz)
>
> takze se vzdy adresa uzivatel na virtdomena.cz prepise na
> uzivatel na neco.cz, coz obecne pozaduji, ale v pripade nekolika
> domen bych potreboval udelat vyjimku, aby se adresa
> neprepisovala. Lze to? Diky za tip.
>
> Lubos Polacek
>
>
Další informace o konferenci Sendmail