On that note, please correct me if what I am saying is incorrect.

An MX record is only necessary when an A record points to a machine
that has no mail handler, and the MX record then points to an A record
of a machine that does have a mail handler.

An MX record may not point to a C record even though it might
seem to make sense to do so, simply because DNS was designed
specifically prohibiting that.

Sending mail to a C record might seem to work, deceptively,
because you may have included the A record in localhosts.
For example,
if you have an A record stooges.com on a machine with QMail
and stooge.com is in the /var/control/localhosts file
then any mail sent to [EMAIL PROTECTED], moe.stooges.com,
[EMAIL PROTECTED] will deliver if larry, moe, and curly
are users.
If there is a C record three.stooges.com that aliases
stooges.com (that's what a C record is) then
[EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED] will also deliver because
like a c programming macro three.stooges.com
"becomes" stooges.com

The deceptive part of that is this.

If you want to route mail of [EMAIL PROTECTED]
to go to curly@localhost you must creat an alias
for shemp to route to curly and that will work for
all localhosts.

So there will be an effect that [EMAIL PROTECTED]
will also go to the user curly.

For explicit control of each domain, separately, you
want to use virtual domains, not localhost.

Each virtualhost should have it's own A record.
stooges.com has an A record
three.stooges.com has an A record
littlerascals.com has an  A record

each is listed in rcpthosts

and a virtual domain map is put into virtualdomains
stooges.com:stooges
three.stooges.com:threestooges
littlerascals.com:littlerascals

This way, there is one user for each
virtual domain, and the .qmail routing
in each of those is very specific.
[EMAIL PROTECTED] can have a
routing and [EMAIL PROTECTED]
can properly bounce (since shemp
was never a little rascal)

Alex Miller


> -----Original Message-----
> From: Petr Novotny [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 21, 1999 2:00 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Can qmail work withuot MX RR?
> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> > I installed qmail in my Linux 2.0.36 machine.
> > qmail was configured as a relay only for my network.
> > The Linux machine does not have MX resource record in DNS server of my
> > domain. Can qmail work properly without MX RR?
> 
> If it has A, that's fine enough. 
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 6.0.2 -- QDPGP 2.60 
> Comment: http://community.wow.net/grt/qdpgp.html
> 
> iQA/AwUBN5YKtlMwP8g7qbw/EQJ4JwCg+G+qh0lXvJJ28QYOlY0oxvL3ZlQAn3Fi
> 53ZSTySpSIfK1kntVmfEs5yo
> =ziNJ
> -----END PGP SIGNATURE-----
> --
> Petr Novotny, ANTEK CS
> [EMAIL PROTECTED]
> http://www.antek.cz
> PGP key ID: 0x3BA9BC3F
> -- Don't you know there ain't no devil there's just God when he's drunk.
>                                                              [Tom Waits]
> 

Reply via email to