01-Apr-2026 — Add MX record management for subdomain email routing #207

build 573commit 4549a14


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:

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:


Before Fix


After Fix


Technical Details

Server-side changes

Client-side changes

lint: replace native confirm() with inline UI and fix ESLint dialog rules

Replace native confirm() in committee settings with inline Confirm/Cancel buttons. Refine ESLint confirm() selector to match only Literal and TemplateLiteral arguments. Move nativeBrowserDialogRestrictions to frontend-only config block. Exclude CLI files that legitimately use @inquirer/prompts confirm() from dialog restrictions.