A Mail eXchange (MX) is a smtp server that is responsible for :
The email servers IP are set in the DNS via the MX record. This is how a server knows to which server a message should be sent.
For instance, with the email address [email protected], the MTA server will:
The reception port is the port 25.