Just configure one of your domains in the DNS to have an A record, such
as mail.mydomain.com and point it to the IP of the web server.

Then add MX records for each other domain in the DNS, like this...

                10      mail.mydomain.com.

I use MS DNS, so I don't know the right formatting for BIND.  The "10" is a priority code.
If you have a backup mail server, you would have

                10      mail.mydomain.com.
                20      mail2.mydomain.com.

If you had two piers and two backups you may have

                7       mail.mydomain.com.
                7       mail2.mydomain.com.
                36      mailbak1.mydomain.com.
                36      mailbak2.mydomain.com.

The values are irrelevant, except whichever has a lower value has a higher priority.

Anyway, if your MX for domain2.com points to mail.mydomain.com.
then you have to configure IMail for a Virtual Domain.  That's as simple
as

        1.  Click on Virtual Hosts in the navigation tree
        2.  Click Add Virtual host
        3.  Make the host name mail.domain2.com
        4.  Make an alias of domain2.com
        5.  For a path on your hard drive, I give them the same name
                as the domain, so  c:\imail\domain2.com

That's basically it.

Chris Ulrich
[EMAIL PROTECTED]


At 10:12 AM 7/20/99 -0700, you wrote:
Andy,
 
I am curious how did you solve the problem?  I will have to do the same things in about few weeks.
 
thanks in advance,
 
Dan
-----Original Message-----
From: Andy Whalley <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, July 20, 1999 6:34 AM
Subject: RE: Re: [IMail Forum] two domain names pointing to the same IP

Hello

 
thanks _very_ much for you help
 
I now have it sorted
 
thanks again,

Andy

Reply via email to