This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to publish two mail servers each with it's own public IP

Hi,

We need to publish a new mail server for a new domain, but we want to publish it with it's own public ip.

The story :)

We have Sophos UTM to manage mail protection for our principal domain, let say example.com

The public ip for the UTM is 192.168.1.1, it's internal one is 10.10.10.1.

The public ip for our mail server is 192.168.1.2, it's internal one is 10.10.10.2

In the present we're using an SNAT to modify the source IP of all outgoing smtp packets from 192.168.1.1 to 192.168.1.2 to match the MX and PTR declaration of our mail server on the internet.

 

Now we have to manage a new domain, let say foo.com, and we want to use another public ip address to publish the mail server of this domain, for example 192.168.1.3, and the corresponding internal one is 10.10.10.3

For incoming emails, SMTP profiles does the trick, if the domain is example.com deliver internally to 10.10.10.2 (mail.example.com), if the domain is foo.com deliver internally to 10.10.10.3 (mail.foo.com).

Our problem is with external delivery, how to modify the source public ip from 192.168.1.1 to 192.168.1.2 if the sender is 10.10.10.2 (example.com) and modify the source ip from 192.168.1.1 to 192.168.1.3 if the sender is 10.10.10.3 (foo.com)

I hope this is clear, if you need more details let me know.

Regards.



This thread was automatically locked due to age.
Parents Reply Children
No Data