01-Apr-2026 — add MX record management for subdomain email routing(#207)

build 573commit # 4549a14


What's New

MX Record Status on Mail Settings Page

The Senders tab on the Mail Settings page (/admin/mail-settings?tab=senders) now includes an MX Records section that shows:

This makes it easy for site administrators to diagnose and resolve email delivery issues without needing direct access to Cloudflare.

Automatic MX Records for New Environments

When a new environment is provisioned via the environment setup workflow, the required MX records are now created automatically alongside the existing A and AAAA DNS records. This prevents the email routing gap that previously affected all new subdomain deployments.

Background

Emails sent to *.ngx-ramblers.org.uk subdomain addresses were bouncing with error 5.4.0 (network or routing status) because no MX records existed to tell sending mail servers where to deliver email. The root domain and all custom domains (e.g. ekwg.co.uk) had correct MX records, but subdomains like kent.ngx-ramblers.org.uk were missing them entirely.

The three required MX records point to Cloudflare's email routing servers:


Technical Details

Server-side changes

Client-side changes