I have a question about multiple MS records for each multiple domains.
I have Domain1 and Domain2
Domain1 has MX record pointing to 22.214.171.124 and Domain2 pointing to 126.96.36.199
I host both of them and I have a distributed environment behind a firewall NAT:
The question is how does the MTA knows which IP address to send an email from each domain to the outside ?