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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

 
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
 
Peter HutchisonSenior 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

Experts Exchange Solution brought to you by ConnectWise

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.