I would like to know what is the difference between sending an email to the same @domain as the sender and sending to a different domain.
I cant really find a detailed explanation on the web.
From my knowledge the MUA queries the DNS server for an MX record for the sender @domain and the MTA sends the Mail to that server. There if the destination is in the same @domain then it is transferred to the MDA to be delivered, otherwise another DNS look up is made for the MX record for the destination @domain.
Is the process described correct ? Thank you very much.