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

Re: [cobalt-users] Cobalt MX record



Danny Daniels wrote:

> Question : When setting up a MX record for a virtual site that exists on a
> cobalt RAQ server should the MX record point back to the virtual site or the
> primary site name ?
>
> EX. My DNS is hosted on a seperate Linux box. Suppose I have two sites
> configured on the RAQ. The root site (home) and
> one virtual site.
>
> home=cobalt.mydomain.com
> Virstual=site1.otherdomain.com
>
> The MX record for cobalt.mydomain.com is as follows :
> preference = 15 , mail exchanger = cobalt.mydomain.com (Note : this works,
> the domain gets mail)
>
> The MX record for site1.otherdomain.com is as follows:
> preference = 15, mail exchnager = cobalt.mydoaim.com (Note: this does not
> work)
>
> It produces this error:
> 554 5.0.0 MX list for site1.otherdomain.com. points back to
> cobalt.mydomain.com
> 554 5.3.5 <site1.otherdomain.com>... Local configuration error
>
> My guess is that the MX record for the virtual site should point to
> site1.otherdomain.com
>
> I am looking for some friendly advise. Sorry if this is somewhat off the
> topic.
>
> -Danny
>  dcd@xxxxxxxxxxxxxxxxxx

Hi Danny,

Yep, the VirtSite's MX can point BACK to itself.  Although not strictly necassary, it works best that way it seems.

typically I set up A and MX records like so;

 A   mydomain.com.       -->    111.222.111.222
 A   mail.mydomain.com.  -->    111.222.111.222
 A   www.mydomain.com.   -->    111.222.111.222
 MX  mydomain.com.       -->    30 mydomain.com.

Then I tell my users to collect their mail and enter "mail.mydomain.com" in BOTH the pop3 & SMTP server boxes in their mail client.   They could if they wanted, enter **ANY** A record entry that is on that IP address.  Even another Domains MAIL.OTHERDOMAIN.COM could be used, and ONLY their **OWN** mail is still available to them, NOT others mail.

Anyway that a nice and simple setup that DEFINATLY works on a Raq3 !!

Have Fun!
--
Regards,
Kul