I have a server machine. If an incoming connection comes on https://abc.com:443, it's redirected to internal port :81 and if https://xyz.com:443, it's redirected to :82. This works fine.
Now I have 2 SMTP mail servers running on this same machine. Of course both cannot listen on port :25. I want to do the similar thing. e.g. abc.com:25 should be redirected to internal port :26. With IIS somehow I am not able to do it.
Is that possible and which tools can be used?
[Note: ChatGPT gives a detailed answer with tools like Nginx (with Stream Module), HAProxy, Postfix with Transport Maps.]