Xpoudy

How to Set Up Fastmail MX Records in Cloudflare

Short answer

Add the domain in Fastmail, then publish its two MX records in Cloudflare. Use the priorities and destinations Fastmail displays. Keep Cloudflare as DNS host if that is your plan, and test inbound mail before changing how the mailbox is used in Xpoudy.

By Xpoudy ·

Follow Fastmail’s external DNS instructions

Open the custom domain setup in Fastmail and choose the option that keeps your DNS hosted elsewhere. Create the mailbox, aliases and routing rules you intend to receive. Copy the complete recommended DNS set and identify which items control incoming mail.

Add the MX entries during the cutover

In Cloudflare, open the domain’s DNS records and add Fastmail’s two MX values. Match the assigned priority of each. If the domain previously used a different mail provider, explicitly coordinate the old MX entry removal and keep the approved rollback details.

Verify Fastmail and the next sending connection

Run Xpoudy’s MX Lookup and match the returned MX priority and destination pairs with Fastmail’s instructions. Then test an inbound email and a reply with an outside mailbox. Check the provider’s separate SPF and DKIM instructions before using the domain for outbound mail.