DMARC, SPF and DKIM for Loops

Updated 2026-11-21

Loops is an email platform for SaaS companies. To send as your own domain, you add a sending domain in Loops and copy the records it shows into your DNS. This guide follows Loops' own documentation. For background on each standard, see SPF explained, DKIM explained and DMARC explained.

What Loops sends from

The visible From address uses your sending domain. Loops says the From field "is used to make up the sending address (it is combined with your sending domain)". You choose that domain during sign up, and you can change it later under Settings -> Domain.

Loops recommends a subdomain, such as mail.yourcompany.com, rather than your root domain. The subdomain "doesn't need to exist yet", and you do not need to create it with an A or CNAME record. Free subdomains from hosting platforms, such as yourapp.vercel.app, cannot be used, "because you don't have access to configure the required DNS records". In this guide the sending domain is mail.example.com.

The envelope sender (Return-Path, also called MAIL FROM) is a subdomain of your sending domain. As of November 2026 Loops says: "Loops' records for SPF are at envelope.sendingdomain.com". Its Apple page calls this name "the SPF domain that we provide for you in-app", where "envelope is the part we are generating for you". Since SPF is checked on the Return-Path domain, we read this as a Return-Path of envelope.mail.example.com. The docs never print a Return-Path header, so check one in a test message.

DKIM: Loops says it signs every outgoing email and that "DKIM signing is active from your first send". The docs do not say which domain appears in the signature.

If you truly need several sending domains, Loops says you can "create a separate team in Loops" for each, and that each domain needs its own records.

SPF

The SPF record for Loops mail sits on the envelope subdomain, not on your root domain. Loops says it lives at envelope.<sendingdomain> with "no collision with your root SPF". The docs do not print the SPF value, so copy it from the domain records page in Loops.

The envelope subdomain also gets an MX record. The Dreamhost section says "Loops' MX record is on the envelope subdomain (for example, envelope.yourcompany.com)" and gives this as an example of the priority and value: 10 feedback-smtp.us-east-1.amazonses.com. In record form:

envelope.mail.example.com MX 10 feedback-smtp.us-east-1.amazonses.com

That is Loops' own formatting example. The docs do not say whether the value differs between accounts, so enter the priority and value your records page shows.

Your root domain keeps its own SPF record for services that use example.com as Return-Path, such as your mailbox provider. Loops needs no change there. A typical root record looks like this, where include:_spf.example.net is a placeholder for another service, not a Loops value:

example.com TXT v=spf1 include:_spf.example.net ~all

This record uses 1 DNS lookup in the record itself. The include adds its own nested lookups, which are not documented here, and the Loops record on the envelope subdomain is not printed in the docs. The limit is 10 lookups for the whole tree (RFC 7208), and the SPF lookup counter counts it on both names (too many SPF lookups). One name may only have one SPF record (multiple SPF records).

Keep ~all on your own records. RFC 9989 warns that -all can get a message rejected early in the SMTP transaction, before DMARC is evaluated, even when aligned DKIM would have passed it, and that mail never appears in your aggregate reports.

DKIM

As of November 2026 the Loops docs do not publish the DKIM record name, selector, record type, value or key length. They say: "Loops provides the exact DNS records you need to add so DKIM verification works for your sending domain. You do not generate or manage keys yourself." Key rotation is not described.

The setup page says the records use the types "TXT, CNAME and MX", and that you should enter the Type, "not the title of the record e.g. SPF, DKIM, MX". For Cloudflare it says to set the proxy to DNS Only for the CNAME records. The docs do not say which record is the CNAME. Copy every record exactly as the page shows it.

To find the selector, send yourself a message and read the s= and d= values in the DKIM-Signature header. Loops says to look for dkim=pass in Authentication-Results.

DMARC alignment

DMARC passes when SPF or DKIM passes and the authenticated domain aligns with the From domain. SPF alignment compares the Return-Path domain with the From domain. DKIM alignment compares the signature's d= domain with the From domain. Relaxed alignment accepts the same organizational domain. Strict alignment (aspf=s, adkim=s) needs identical names.

  • SPF: in our reading the Return-Path is envelope.mail.example.com while the From domain is mail.example.com. Those names differ, so SPF aligns only under relaxed alignment.
  • DKIM: the docs do not state the d= domain. Check it in a test message. If it is the sending domain, DKIM aligns under strict alignment too; if it is another subdomain of example.com, only relaxed.

Loops' troubleshooting says: "If you are sending from [email protected] but Loops signs at mail.yourdomain.com, you need relaxed alignment (aspf=r; adkim=r) in your DMARC record, which is the default in the record Loops provides." That hints Loops signs with the sending domain, but it sits uneasily with the sending settings page, where the From address is "combined with your sending domain", and it is not a documented d= value. Keep both tags relaxed, or leave them out, since relaxed is the default.

A DMARC record at _dmarc.example.com covers mail.example.com. Loops says a root record "applies to all subdomains by default", and that you do not need a separate record for the subdomain "unless you want a different policy there".

Step by step to p=reject

  1. Add your sending domain. Enter it during sign up, or later under Settings -> Domain; Loops recommends a subdomain such as mail.example.com.
  2. Publish the records. On Settings -> Domain click View records, then copy the SPF, DKIM and MX records one by one into your DNS host using each record's Type, with the MX priority, and with any CNAME set to DNS Only on Cloudflare; you can also download a zone file. Loops' own list says to copy "the SPF, DKIM, MX, and DMARC records", but the name and policy of its DMARC record are not documented; if you use a root record (step 4), skip it or keep its policy in step with the root (see Common mistakes).
  3. Verify the records. Click Verify Records and wait until each section shows "Records present"; Loops says records can take up to 72 hours to propagate, though rarely more than 24.
  4. Publish DMARC with p=none and a report address. Add a TXT record at _dmarc.example.com with v=DMARC1; p=none; rua=mailto:[email protected], the starting record Loops recommends for the first few weeks.
  5. Read the reports and fix other senders. Send a test message, confirm spf=pass, dkim=pass and dmarc=pass in the headers, then watch the reports and give every other legitimate sender aligned DKIM or SPF.
  6. Move to p=quarantine. Loops says to move once reports show 100% of legitimate mail passing DMARC, after 2 to 4 weeks of clean reports; failing mail then goes to spam.
  7. Move to p=reject. After another few weeks of clean reports, change the policy to p=reject; Loops says this is typically 1 to 3 months in.

The record for step 4:

_dmarc.example.com TXT v=DMARC1; p=none; rua=mailto:[email protected]

That record triggers our DMARC policy none note on purpose; it is the monitoring stage. The final record:

_dmarc.example.com TXT v=DMARC1; p=reject; rua=mailto:[email protected]

Loops says you can move faster if it is your only sender. Some receivers support pct (RFC 7489) or t=y (RFC 9989), but RFC 7489 says unknown tags must be ignored, so a receiver may apply p=reject; t=y as a full reject. Neither is a safety net; let the reports decide each step.

Common mistakes

  • A second SPF record on the root. The Loops SPF record belongs on the envelope subdomain. Two SPF records on one name give a permerror for the whole name (RFC 7208).
  • Using the record title as the type. Loops warns to use the Type (TXT, CNAME, MX), not SPF or DKIM.
  • A proxied CNAME on Cloudflare. Set the CNAME records to DNS Only.
  • A forgotten subdomain policy. Under RFC 9989 a record at _dmarc.mail.example.com is applied before the root record. If you publish the DMARC record Loops shows on the sending subdomain and leave it at p=none, raising the root to p=reject does not protect mail.example.com.
  • Strict alignment. In our reading, aspf=s makes SPF fail alignment, because the Return-Path is the envelope subdomain, not the From domain.
  • Removing records later. Loops says that "If DNS records for your domain are removed, email sending will stop".
  • Ignoring Apple Hide My Email. Register both the envelope subdomain and the usual domain with Apple, or those addresses may bounce.
  • Counting on one waiting time. The setup page says up to 72 hours, the zone file page "sometimes an hour or less", and the DMARC page's DKIM troubleshooting says records "can take up to an hour to propagate globally". Re-verify later.
  • No report address. Without rua you cannot see what fails (DMARC without rua).

How to check it

Run the email security check on mail.example.com to read SPF, DKIM and DMARC together. Run the SPF lookup counter on envelope.mail.example.com and on your root domain. In the DKIM selector finder, enter the selector from the s= value of a test message with its d= domain. Build your policy with the DMARC record generator. Finally, check that a test message's Return-Path and DKIM d= both end in example.com.

Frequently asked questions

Do I need to add Loops to the SPF record on my root domain?

No, according to Loops. Its SPF record lives at envelope.<sendingdomain>, and the docs say this means it won't collide with any other SPF records you have set up. Receivers check SPF on the Return-Path domain, which in our reading is that envelope subdomain, so your root SPF record stays as it is for your other services.

What does the Loops DKIM record look like?

As of November 2026 Loops does not print the DKIM record name, type, selector or value in its docs. It says you copy the records from Settings -> Domain and that you do not generate or manage keys yourself. The setup page lists TXT, CNAME and MX record types and tells Cloudflare users to set CNAME records to DNS Only. Copy the record exactly as the domain records page shows it.

Do I need the DMARC record Loops shows if I already have one on my root domain?

Not necessarily. Loops says it specifies a DMARC record so that you have one, 'but you can also just have a single DMARC at the root domain level', and that a root record applies to all subdomains by default. Note that a DMARC record on the sending subdomain itself takes precedence over the root record for mail from that subdomain.

Why do emails to Apple Hide My Email addresses bounce?

Loops says sending to these addresses can result in hard or soft bounces unless you register your sending domain with Apple. In the Apple Developer Console, register both the SPF domain Loops generates for you, such as envelope.yourdomain.com, and the usual domain.

Sources