Denis Voitenko wrote:

> Here is my situation. I host my site at one of the hosting services. The
> domain is o3m.com. For a while we also had a site with the domain of
> ais.o3m.com which had it's own mail server. Now I reconfigured DNS so that
> the mail to ais.o3m.com gets delivered to o3m.com. Overall, my configuration
> file looks like this:

[snip]

> ; the zone itself
> o3m.com.             IN  A  216.71.9.222

[snip]

> ; cnames
> www.o3m.com.         IN CNAME o3m.com.
> ftp.o3m.com.         IN CNAME o3m.com.
> ais.o3m.com.         IN CNAME o3m.com.

I wouldn't rely on this working for mail delivery.

> www.ais.o3m.com.     IN CNAME o3m.com.
> 
> ; mx records
> o3m.com.           IN  MX 10 o3m.com.
> o3m.com.           IN  MX 20 o3m.com.

Try adding:

ais.o3m.com.         IN MX 10 o3m.com.

To deliver mail to [EMAIL PROTECTED], the MTA will look for MX records
for domain.com. If it can't find any, it will look for A records
instead. I don't recall seeing any documentation which says whether an
MTA will consider CNAME records at any point, so I wouldn't make any
assumptions about that.

> and while when I send mail from some smtp servers to accounts on ais.o3m.com
> the header gets rewritten to o3m.com and mail is delivered, some servers are
> still trying to deliver mail to ais.o3m.com. So I am wondering, is the
> problem the way some smtp server do lookups or is it that my DNS hasn't
> spread over the net yet?
> 
> BTW, the o3m.com server is not configured to receive mail for ais.o3m.com.

Can you clarify? Do you want mail for [EMAIL PROTECTED] to be
_forwarded_ to [EMAIL PROTECTED]? Or do you just want it to be sent to
216.71.9.222?

-- 
Glynn Clements <[EMAIL PROTECTED]>

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to