Koozali.org: home of the SME Server

Are two mail server will conflict when send or receive in same time

Offline ahmedsa

  • ****
  • 180
  • +0/-0
 I have SME mail server 7.5 as old server work with domain ALTAWI.COM.SA
it has problems so that i decided to create new mail server meaning make new mail server in another computer with mail server 8.1 release version with same setting exist in old. 
MY Question can I leave  two mail servers computers send and receive emails in same time or must
shutdown old mail server  to work new

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Are two mail server will conflict when send or receive in same time
« Reply #1 on: July 21, 2015, 09:30:39 AM »
ahmedsa

They will conflict if they have the same domain name & external DNS records are configured to resolve that domain to both servers, which theoretically should not be the case.
In practise you would point the external DNS records at the second server so that the domain name resolves correctly to only one server ie the sme8.1 server.

If you prefer you can rename the domain on the first server to avoid confusion, but it should not be necessary.
Also you could disable mail services on the first server, but that will stop system mails to admin, also it should not be necessary.

You need to explain your situation better, eg where are the 2 servers located & so on.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline ahmedsa

  • ****
  • 180
  • +0/-0
Re: Are two mail server will conflict when send or receive in same time
« Reply #2 on: July 21, 2015, 10:27:38 AM »
my situation as following
i have two mail server
old one
server name :mserver
domain :altawi.com.sa
dns :xxx.xxx.xxx.xxx
server ip 192.168.1.4
New server :
server name :mserver
domain :altawi.com.sa
dns :xxx.xxx.xxx.xxx same dns of old mail server
server ip 192.168.1.8
and two mail server(old and new)in same network
what i change actually
and if i change computer i must change dns or leave as old
 

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Are two mail server will conflict when send or receive in same time
« Reply #3 on: July 21, 2015, 10:48:57 AM »
ahmedsa

What mode is each server in, server & gateway or server only ?
Is there a router/gateway device in front of the sme servers, if so set up forwarding in the router to the sme server that is acting as the main donain server.
You still need to provide more detailed information about your network, gateway device, & how you have configured the router to foward services to your sme server(s) etc.
Why do you want 2 servers with the same domain name ?


Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline ahmedsa

  • ****
  • 180
  • +0/-0
Re: Are two mail server will conflict when send or receive in same time
« Reply #4 on: July 21, 2015, 12:32:00 PM »
mode of two servers is server only.
Gateway of SME is CISCO firewall router with ip 192.168.1.254 in two servers
i don't want two servers in same times but i need to configure new server with same settings of old
after i configured if new server worked i will remove old server
because old server works live
and can not remove live and work in test
Cisco firewall router connected with network in with two servers   



Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Are two mail server will conflict when send or receive in same time
« Reply #5 on: July 21, 2015, 02:00:41 PM »
ahmedsa

Configure your gateway CISCO firewall router to forward services to the IP of your sme server, or otherwise configure it to forward requests for your domain to the sme8.1 server
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline ahmedsa

  • ****
  • 180
  • +0/-0
Re: Are two mail server will conflict when send or receive in same time
« Reply #6 on: July 21, 2015, 02:13:34 PM »
Thank you for reply
What you mean to configure CISCO firewall router to forward services to the IP of your sme server
meaning i shutdown old mail server computer and turn on new mail server computer
and in gateway of sme mail server new write ip of router
192.168.1.254 are this what you mean
if i wrong please tell me

Offline brianr

  • *
  • 988
  • +2/-0
Re: Are two mail server will conflict when send or receive in same time
« Reply #7 on: July 21, 2015, 04:18:32 PM »
Your Cisco router will be sending all incoming packets (emails) on port 25 to the old mailserver Ip address. I presume. In this case all you need to do is to re-cnfigure the Cisoc router to send all packets which come in on port 25 to the new server ip address.  You can then leave both servers on, but all incoming emails will be dealt with by the new server.
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Are two mail server will conflict when send or receive in same time
« Reply #8 on: July 21, 2015, 06:01:47 PM »
ahmedsa

It is probably easier if you do not reconfigure the gateway router.
Instead just reconfigure each sme server by swapping the IP's
ie make
sme 7.x server ip 192.168.1.8

& make sme8.1 server ip 192.168.1.4

You can safely do this on sme server by logging in as admin at a command prompt & then selecting the Configure this server option.
Step through all the settings only changing the local IP address, then at the end, save & reboot.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline brianr

  • *
  • 988
  • +2/-0
Re: Are two mail server will conflict when send or receive in same time
« Reply #9 on: July 21, 2015, 06:52:05 PM »
ahmedsa

It is probably easier if you do not reconfigure the gateway router.
Instead just reconfigure each sme server by swapping the IP's
ie make
sme 7.x server ip 192.168.1.8

& make sme8.1 server ip 192.168.1.4

You can safely do this on sme server by logging in as admin at a command prompt & then selecting the Configure this server option.
Step through all the settings only changing the local IP address, then at the end, save & reboot.

good call Janet - wish I'd thought of that!
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........