Configuring DNS Records
When you add a domain in Mailofly, you will be generated a set of DNS records. Adding these records to your DNS registrar enables sending authorization and deliverability protections.Required DNS Records
1. DKIM (DomainKeys Identified Mail)
DKIM signs outgoing emails with a cryptographic key, allowing recipient email providers (Gmail, Outlook, Yahoo) to verify the email was sent by an authorized server. Mailofly provides 3 CNAME records for Easy DKIM:Note for Cloudflare users: Ensure the proxy status for these CNAME records is set to DNS Only (gray cloud), NOT Proxied (orange cloud).
2. SPF (Sender Policy Framework)
SPF designates Mailofly as an authorized sender for your domain.
If you already have an SPF record for Google Workspace or Microsoft 365, merge the include rule:
3. Custom MAIL FROM / Return-Path (MX & SPF)
Setting up a custom MAIL FROM subdomain (e.g.mail.yourdomain.com) ensures SPF aligns with your custom domain name rather than a shared relay address.
4. DMARC (Domain-based Message Authentication)
DMARC tells inboxes how to handle emails that fail SPF or DKIM checks. Google and Yahoo mandate a DMARC policy for bulk senders. Add this TXT record at_dmarc.yourdomain.com:
p=none: Monitoring mode. Messages are delivered normally while you inspect DMARC reports.p=quarantine: Unaligned messages are sent to the spam folder.p=reject: Unaligned messages are dropped completely.