#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2004
    Posts
    2
    Rep Power
    0

    Duplicate mail server...


    Is there a way to setup two mail servers with different ips in dns settings (mx records or so) , so both servers get the same emails at the same time. So each incoming mail will be duplicated. we will use one server for just back up and another for normal mail traffic. Is it possible?
  2. #2
  3. DNS/BIND Guru
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jun 2003
    Location
    OH, USA
    Posts
    4,266
    Rep Power
    173
    Very possible with example records like below:

    mydomain.com. MX 10 mx1.mydomain.com.
    mydomain.com. MX 20 mx2.mydomain.com.
    mx1.mydomain.com. A 127.0.0.1
    mx2.mydomain.com. A 127.0.0.2

    When mail servers resolve the mail domain "mydomain.com" they find 2 MX records. They select the one with the lowest number (10) which has the highest priority. If that server is down, it will then try the second MX record (20).
    Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links:

    Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2004
    Posts
    2
    Rep Power
    0
    Thank you for your response,but I want BOTH mail servers get the SAME EMAILS at the SAME TIME. So a kind of cloning. I'm not expert but I think in your solution mx2.mydomain.com starts serving when mx1.domain.com is down. I want them work both at the same time.
  6. #4
  7. DNS/BIND Guru
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jun 2003
    Location
    OH, USA
    Posts
    4,266
    Rep Power
    173
    This is not something that can, or even should, be handled by the DNS. You need to have some other means of transferring a copy of all emails recieved to the other site. This may be done using the SMTP/POP3 protocol or some file transfer protocol.
    Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links:

    Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts
  8. #5

  9. Join Date
    Jul 2013
    Location
    Melbourne
    Posts
    40
    Rep Power
    0
    Originally Posted by senok
    Is there a way to setup two mail servers with different ips in dns settings (mx records or so) , so both servers get the same emails at the same time. So each incoming mail will be duplicated. we will use one server for just back up and another for normal mail traffic. Is it possible?
    Hi Senko it is not possible to make same username email server with using different ids and dns as Rage explained you can use the method.

    mydomain.com. MX 10 mx1.mydomain.com.
    mydomain.com. MX 20 mx2.mydomain.com.
    mx1.mydomain.com. A 127.0.0.1
    mx2.mydomain.com. A 127.0.0.2

    else not possible. but if you get the solution please share here.

IMN logo majestic logo threadwatch logo seochat tools logo