On Mon, 01 Nov 1999 at 21:03:03 -0300, olli wrote:
> On Thu, 30 Sep 1999, Dave Sill wrote:
> 
> Sorry for a noise.. I read the following in the FAQ:
> --------
> Answer: The SMTP standard does not permit aliased hostnames, so qmail
> has to do a CNAME lookup in DNS for every recipient host. If the
> relevant DNS server is down, qmail defers the message. It will try again
> soon.
> --------
> 
> Does this mean that I can't set up local (my LAN only) domain with MX set
> to real dns name and I have to add non-real domain to
> /var/qmail/control/locals ? 
> 
> I.e. I've mynet.org that is for masqueraded mashines only & I resolve as 
> vgsn.glasnet.ru. If I then write in named configs 
> "mynet.org CNAME vgsn.glasnet.ru." do I have to add "mynet.org" to
> /var/qmail/control/locals ?

If I understand your question correctly: _yes_.
Even if a DNS record for mynet.org points to your server, it (your server)
will _not_ accept mail addressed to [EMAIL PROTECTED] if mynet.org is not
present in (rcpthosts AND (locals OR virtualdomains)).

The above is a little simplified. In fact, sometimes a domain _can_ be
only in rcpthost and not in locals nor in virtualdomains. When you agree
to be an additional MX for the domain (you accept mail for them and keep
it in your spool (not deliver to local users) when the main MX is down or
unreachable.

BTW, a domain should _not_ be in locals AND virtualdomain at the same
time, only in one of these files.

> Bye.Olli.
>               //System administrator of "Russia Young" internet group.
> 
> Any info around "Russia Young" & Boris Nemtsov:
> http://www.rosmol.ru , http://www.nemtsov.ru , http://www.boris.nemtsov.ru

-- 
 Tomasz Papszun   SysAdm @ TP S.A. Lodz, Poland  | And it's only
 [EMAIL PROTECTED]   http://www.lodz.tpsa.pl/   | ones and zeros.

Reply via email to