[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Hosts, Domains, and aliases...



Dan Kriwitsky wrote:

> Beginning recenlty because of the way the Raq receives email, we've also
> begun entering MX records for www.domain.net.
> 
> Huh? I've never had an MX record for www.domain.net. I have an MX record
> for mail.maindomain.com and under the DNS for each site, they use that
> for MX.

Internally your RaQ resends all email addressed to, for example,
discoversarasota.com, to www.discoversarasota.com (with the hostname, in
this case "www").  Why?  Because of those lines in
/etc/mail/virtusertable; you know, the ones under the line that says:

# accept-email-at-domain routes

for example:

@discoversarasota.com	%1@xxxxxxxxxxxxxxxxxxxxxxxx

When it does that, sendmail sends the mail again.

And when it does that, it looks first for an MX record for
www.discoversarasota.com.

Only when it can't find that does it look for an A record for
www.discoversarasota.com.

So having the MX record saves lookups.

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
Linux and Cobalt/Sun/RaQ Consulting
nobaloney.net
P. O. Box 52672, Riverside, CA  92517
voice: (909) 778-9980  *  fax: (702) 548-9484