Re: [Exim] envelope rewriting clarification

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Phil Pennock
Data:  
Para: Dan Kappus
CC: exim-users
Assunto: Re: [Exim] envelope rewriting clarification
On 2000-09-20 at 11:38 -0700, Dan Kappus gifted us with:
> anything@???
>
> is rewritten as user@???
>
> There are cname records for all the
> hosts, and these are all listed as
> local domains. I don't think that one can have an MX record
> for a cname entry (???)


Why do you need CNAME records? When a mail system wants to send mail,
it looks for an MX record for the mail domain specified in the address.
If it finds one, the MX record should point to an A record.

$ORIGIN example.com.

 mail      IN  A    192.168.42.42


 fred      IN MX 10 mail
 gladys    IN MX 10 mail
 bert      IN MX 10 mail


Then mail to gladys.example.com will result in an SMTP connection to
[192.168.42.42].

If you need someone to be able to ping gladys.example.com, or whatever,
then sure, have CNAME entries.

If you sort that out, does it then work?
--
A science is said to be useful if its development tends to accentuate the
existing inequalities in the distribution of wealth, or more directly promotes
the destruction of human life - Godfrey Hardy, A Mathematician's Apology, 1941