How to set up SPF, DKIM and DMARC for MailerLite

The DKIM record, merging SPF without breaking it, domain alignment, and DMARC.

MailerLite is a newsletter and email marketing platform. To send campaigns from your own domain without landing in spam, you authenticate the domain with a DKIM record and an SPF include, then add DMARC. MailerLite is one of the services that still asks for an SPF include, so the main thing to get right is merging it into your existing record.

See what's already in place. Rigcheck shows your SPF, DKIM and DMARC records, flags duplicate SPF records, and detects MailerLite once it's set up.

Before you start

  • A MailerLite account.
  • Access to your DNS host, wherever your domain's DNS records are managed (Cloudflare, GoDaddy, Namecheap, Route 53 and so on). This isn't always where you bought the domain. Rigcheck shows your DNS host at the top of your results.

Step 1: Add your domain

In MailerLite, go to Account settings → Domains, add your sending domain under domain authentication, and choose to authenticate manually if MailerLite can't connect to your DNS host automatically.

Step 2: Add the DNS records

RecordTypeNameValue
DKIMCNAMElitesrv._domainkeylitesrv._domainkey.mlsend.com
SPFTXT@Your SPF record with include:_spf.mlsend.com added

Some accounts are also shown a mailerlite-domain-verification TXT record to prove ownership. Add it if yours is.

A domain can only have one SPF record. If you add a second TXT record starting with v=spf1, SPF fails for all of your email. Edit your existing record and add the new include: before the ~all at the end. Each include uses part of SPF's 10-lookup limit, so if your record is getting crowded, read SPF too many DNS lookups.

For example, a Google Workspace domain ends up with:

Host@
TypeTXT
Valuev=spf1 include:_spf.google.com include:_spf.mlsend.com ~all

Most DNS hosts add your domain automatically, so enter names in the short form your provider shows. Typing the full name can produce something like s1._domainkey.yourdomain.com.yourdomain.com, which silently fails. If you're not sure, add one record and look at how your host displays it.

If your DNS is on Cloudflare, set every CNAME record to DNS only (grey cloud), not proxied. A proxied record hides the CNAME, and verification fails.

Then click Check DNS records in MailerLite.

By default, MailerLite's bounce address is on its own domain, so DKIM carries DMARC on its own. MailerLite's domain alignment option adds a subdomain of yours, like mail.yourdomain.com, with its own MX, A and SPF records that MailerLite provides. That makes SPF line up with your domain too. Use a subdomain you don't use for anything else, add the records MailerLite shows, then check and enable it.

DMARC

If your domain has no DMARC record yet, add a TXT record named _dmarc:

Host_dmarc
TypeTXT
Valuev=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com

If you already have one, keep it. A domain can only have one DMARC record, and it covers mail from MailerLite too. Start with p=none, then tighten it once your reports look clean: DMARC p=none vs quarantine vs reject walks through it.

Confirm it works

  1. Run your domain through Rigcheck. SPF should pass with a single record, DKIM should show a key for litesrv, and DMARC should be in place.
  2. Send a test message through MailerLite to a personal Gmail address. Open it, tap the three-dot menu and choose Show original. You should see PASS next to SPF, DKIM and DMARC, with your own domain listed for each. If you skipped domain alignment, SPF passes for MailerLite's own domain instead, and DKIM carries DMARC on its own.

Check your MailerLite setup. See which records pass and get the exact fix for anything missing.

Check my setup

Browse all guides