I have a question about multiple MS records for each multiple domains.
I have Domain1 and Domain2
Domain1 has MX record pointing to 220.127.116.11 and Domain2 pointing to 18.104.22.168
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 ?