An MX (Mail Exchange) record is a DNS (Domain Name System) entry that identifies the mail server responsible for handling email for a specific domain. Salesforce email delivery depends on correctly configured MX records at the recipient's domain. This article explains how MX records work, the difference between valid and invalid MX records, and how to look up MX records for troubleshooting Salesforce email delivery issues.
nslookup -type=mx exampledomain.comExample of a valid MX record (exchange value points to a hostname):
exampledomain.com MX preference = 10, mail exchanger = 201.46.7.135
nslookup -type=mx salesforce.comIn the valid example, each mail exchanger resolves to a named host (e.g., salesforce.com.s8b1.psmtp.com), which in turn has an IP address. This is the correct configuration.
salesforce.com MX preference = 300, mail exchanger = salesforce.com.s8b1.psmtp.com
salesforce.com MX preference = 200, mail exchanger = salesforce.com.s8a2.psmtp.com
salesforce.com MX preference = 100, mail exchanger = salesforce.com.s8a1.psmtp.com
salesforce.com MX preference = 400, mail exchanger = salesforce.com.s8b2.psmtp.com
000385607

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.