Sitelutions Help & Support

MX Preference

All MX Records have MX preferences. The MX preference specifies the priority that a remote mail server should give to a receiving mail server. Remote mail servers attempt to deliver mail to the server specified by the MX record with the LOWEST MX preference. A lower MX preference indicates a higher priority. For example, a typical setup would be the following:

You have two MX records for your-domain.com:
  • The first points to primaryMail.your-domain.com with an MX preference of 0.
  • The second points to backupMail.your-domain.com with an MX preference of 5.
As long as the MX preference for the backup mail server is higher than that of the primary, remote mail servers will attempt to deliver mail for your domain first to primaryMail.your-domain.com. If that server is not accessible or is not running an SMTP server on port 25, the remote mail server will then try to delivery mail to backupMail.your-domain.com. The backup server will then typically store your mail until your primary mail server comes back up. It will then be delivered.