Adding custom MX records
A host name can have one or more Mail Exchange (MX) records. These records point to hosts that accept mail messages on behalf of the host. Adding MX records is similar to adding A records:
- Name: your local domain name. If you leave the Name field blank, all mail will be redirected for the base zone.
- Data: the priority of the record and mail domain name (not the IP) mail will be forwarded to.
Note: The priority of the custom MX record defines whether your external servers will act as secondary or primary. For instance, if you set the priority of the custom MX record higher than 10 (e.g. 11), your external mail server will be used as secondary. If you set the priority of the custom MX record lower than 10 (e.g. 9), your external mail server will be used as primary. In the latter case, your mail will be sent to your external mail server until it goes down or becomes otherwise inaccessible. Then the default mail server will take over.
WARNING: Please pay attention to $ORIGIN when you add an MX record.