Redirect mail server from IP to IP

I am forced to urgently move exim mail server to different server. Exim4 was installed on old server with lots of different other services. So, now I want to devide services without making any changes in DNS. I want to somehow divide on router mail traffic from other trafic and then route mail trafic to another IP. What is the best way to do so for exim4? Can it be done by TCP or UDP port redirection? If so - what ports need to be redirected to another IP so that exim4 mail will work? May be it is still better to use DNS and it is more efficient to change MX records?
Taras ShumyloAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Peter HutchisonConnect With a Mentor Senior Network Systems SpecialistCommented:
I would personally use MX records and set the preference values, use a low value for the servers you would prefer to use, and a higher number for the one you don't want much traffic on. If you don't want to use it at all, remove the MX record.
0
 
arnoldCommented:
On the external firewall you can direct port 25 forward to any internal IP you want
Your setup is unclear, you would need to update the internal DNS to make sure it points to the mail server you want.........
0
All Courses

From novice to tech pro — start learning today.