Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Moving Sendmail servers

Status
Not open for further replies.

btaber

Programmer
May 26, 2002
307
US
Maybe some can help me out, this is kinda advanced. I need to move my mail server from one server to another, but the two servers have different IP's. Is it possible to have the server running mail now queue all the mail, then deliver it to my new server when I tell it to? I am trying to prevent downtime (maybe I am pounding my head on the table for no reason...)
 
Hello,

I supose that you're talking about incomming mail, right? I hope I understand your needs and write something coherent.

You can modify your DNS MX entries to have both servers' entries. The working one with less priority that the non-working one. The idea is to have two servers: primary and secondary, where primary is the one you are building and secondary the working one.

Anyway I think that you'll have to use something like Smart Relay Host feature on the server that is working, because you want those messages to be queued, and not writed to the mailboxes.

This is the system we are using now, with our mail server and an ISPs mail server acting like the secondary mail server, that only queues mails for later delivery to the primary server when the connection is down, etc.... It's our HA for the mail service.

Once both servers are up, you can manually force the delivery from secondary to primary or if you mantain this system as a HA mail service, you can use etrn feature on the main server to force the secondary to deliver the mail.

IS this what you are looking for? I configured it a long time ago so I don't remember the exact proccess, and I cannot see the actual configuration because now the secondary mail server is on an ISP. But you can search the net for secondary mail server, secondary mail relay,...

If I get some time, I'll try to simulate the environment, but I cannot promise anything.

Bye,

jmiturbe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top