Introduction
HubSpot DMARC compliance depends on connecting the client's email sending domain in HubSpot, so marketing, workflow and transactional email is DKIM-signed with the client's own domain and passes DMARC through DKIM alignment. One-to-one sales email sent from a connected Gmail or Outlook inbox is authenticated by that mailbox provider instead, not by HubSpot.
This guide covers the records HubSpot generates, which mechanism aligns, free-mail From addresses, the Gmail and Yahoo rules, an MSP checklist and a troubleshooting table. For background, start with the DMARC guide.
Key takeaways
- HubSpot sends marketing, workflow and transactional email over its own network. One-to-one emails, sequences and inbox replies go out through the connected mailbox provider.
- Connecting a sending domain creates two DKIM CNAMEs (selectors
hs1andhs2), an SPF include and a DMARC TXT record check. DKIM is what aligns on shared IPs. - SPF only aligns when you add a custom return-path, which HubSpot documents for Marketing Hub Enterprise and dedicated IP setups.
- HubSpot's DMARC examples still show a percentage tag. RFC 9989 removed it, so leave it out and move from
p=nonetop=quarantinetop=reject.
Which HubSpot emails need DMARC authentication?
Every email that shows the client's domain in the From header needs to pass DMARC, but HubSpot sends it through two different paths. Marketing email, automated workflow email and transactional email use HubSpot's network. One-to-one email, sequences and conversations inbox replies use the connected mailbox.
HubSpot's article Understand email sending in HubSpot states that one-to-one emails, sequence sends and inbox replies "do not use HubSpot's email sending network or the email sending domain used for marketing emails". That split decides where you fix authentication:
| Email type | Sent by | What makes it pass DMARC |
|---|---|---|
| Marketing email, workflow email | HubSpot network | Connected email sending domain (HubSpot DKIM) |
| Transactional email (add-on) | HubSpot network | Connected sending domain, custom return-path |
| One-to-one email, sequences (Sales Hub) | Connected Gmail or Outlook | Google Workspace or Microsoft 365 SPF and DKIM |
| Conversations inbox replies | Connected inbox | The connected provider's authentication |
| HubSpot-hosted inbox (conversations only) | HubSpot network | Connected sending domain |
So "HubSpot DMARC" is really two jobs: authenticate HubSpot itself, and make sure the client's Microsoft 365 or Google Workspace tenant already signs with its own domain. The second is covered in the DKIM guide; this article focuses on the first.
How do you connect an email sending domain in HubSpot?
You connect the domain under Settings > Content > Domains & URLs > Email Sending > Connect sending domain. HubSpot asks for a From address, verifies the domain, then shows the DNS records to publish. It needs Domain settings permissions and a Starter, Professional or Enterprise seat on Marketing, Sales, Service or Content Hub.
The flow, as documented in Connect your email sending domain:
- Click the settings icon, then go to Content > Domains & URLs and open the Email Sending tab.
- Click Connect sending domain and enter an address you send marketing email from.
- Verify the domain, then choose Sign in with [provider] if your DNS host supports automatic setup, or No, I'll set it up manually.
- Copy each Host and Required data value into the client's DNS.
- Wait at least 20 minutes, then verify. HubSpot says changes usually take 10 to 70 minutes and can take up to 48 hours.
An account can connect up to 2,000 sending domains, and one domain can be connected to several HubSpot accounts, which suits clients with separate portals per brand.
What DNS records does HubSpot generate?
HubSpot generates two DKIM CNAME records, one SPF include for a TXT record and a DMARC TXT record check. The DKIM host names use the selectors hs1 and hs2, sometimes with an account-specific number, and point to dkim.hubspotemail.net targets. Exact values differ per account, so always copy them from the portal.
HubSpot's troubleshooting article shows host examples such as hs1-123456._domainkey.example.com and target formats like these:
Type Host Value (format only, copy yours from HubSpot)
CNAME hs1-<id>._domainkey example-com.hs<n>a.dkim.hubspotemail.net.
CNAME hs2-<id>._domainkey example-com.hs<n>b.dkim.hubspotemail.net.
TXT @ v=spf1 include:<id>.spf<nn>.hubspotemail.net ... -all
TXT _dmarc v=DMARC1; p=none; rua=mailto:reports@example.net
For SPF, never create a second record. HubSpot's own example merges its include into the existing one:
v=spf1 include:anotherprovider.com include:123456.spf03.hubspotemail.net -all
The numeric part of the include is account-specific, so do not reuse one client's value for another. Each include also costs DNS lookups against the SPF 10-lookup limit, defined in RFC 7208.
HubSpot shows three statuses on the Email Sending tab. Not authenticated means nothing is verified. Partially authenticated means DKIM passes but SPF or DMARC does not. Authenticated means all three are verified. A subdomain counts as authenticated when the organisational domain has a DMARC record, because subdomains inherit the parent policy.
Which mechanism aligns for DMARC with HubSpot?
DKIM is the mechanism that aligns. The hs1 and hs2 keys are published under the client's own domain, so the DKIM signature carries the client's domain and aligns with the From header. SPF usually passes for HubSpot's bounce domain, not the client's, so it does not align unless you configure a custom return-path.
Under RFC 9989, DMARC passes if either SPF or DKIM passes and aligns, so DKIM alone is enough. HubSpot's Overview of email authentication recommends relaxed alignment (adkim=r, aspf=r), which is also the default when the tags are absent. See relaxed vs strict alignment for the trade-offs.
Does HubSpot's return path align SPF?
Not on shared IPs. HubSpot states that shared-network senders cannot customise the return path, which is "the domain of the email sending network". With the Dedicated IP or Transactional Email add-on, HubSpot documents a custom return-path for Marketing Hub Enterprise.
You add it under Actions > Add return-path domain, using a subdomain such as bounce, mail or return that has no existing MX or CNAME for another provider. With relaxed alignment, the return-path only needs the same organisational domain as the From address. With aspf=s, it must match exactly, so HubSpot advises sending from a subdomain. If the client lacks the add-on, DKIM is the only aligned path, which makes the DKIM CNAMEs critical.
What happens if the From address uses a free email domain?
HubSpot will not send marketing email as an unverified address. Per its article on verifying From addresses, such email is sent from a HubSpot-managed domain instead. You also cannot connect gmail.com or outlook.com as a sending domain, because you must own and control the domain.
In practice, a free-mail From address can never align for a third-party sender: the mailbox provider publishes its own DMARC policy and HubSpot cannot sign as that domain. Move clients to a domain they own. HubSpot itself notes that emails from a connected sending domain "tend to have higher delivery rates".
How does HubSpot fit the Gmail and Yahoo bulk-sender rules?
Google's sender guidelines require senders of more than 5,000 messages a day to Gmail to set up SPF and DKIM, publish DMARC, align the From domain with SPF or DKIM, support one-click unsubscribe and keep spam rates low. A connected HubSpot sending domain covers the authentication part.
Yahoo applies similar rules. The Google and Yahoo sender requirements article explains the detail. For unsubscribe, check a test send's headers for List-Unsubscribe and List-Unsubscribe-Post, as described in the one-click unsubscribe guide. Note that HubSpot does not add unsubscribe links to one-to-one or sequence email by default.
Should HubSpot marketing email use a subdomain?
Yes, for most clients. HubSpot recommends a unique subdomain such as news.example.com for shared-IP senders, and the From address should match the connected subdomain. This separates marketing reputation from staff mail and lets you tune DMARC on the subdomain independently.
The subdomain or separate domain guide weighs the options. If the organisational domain publishes DMARC, the subdomain inherits it unless you add its own _dmarc record. For a record template, see the DMARC record examples for common setups.
What DMARC record should you publish for a HubSpot domain?
Publish one TXT record at _dmarc and start with p=none plus an aggregate report address. HubSpot Support does not help with DMARC record setup, so this is the MSP's job. Move to p=quarantine and then p=reject once reports show HubSpot and every other source aligned.
_dmarc.example.com TXT "v=DMARC1; p=none; rua=mailto:dmarc@reports.example.net"
HubSpot's examples still include a percentage tag. RFC 9989 removed it, so leave it out; use t=y if you need a testing flag. The UK NCSC's email security guidance ends with rejecting spoofed email, which is where UK clients should aim.
MSP checklist for HubSpot clients
- Run client discovery and confirm which portals and Hubs the client uses.
- Confirm the mailbox platform (Microsoft 365 or Google Workspace) signs DKIM with the client domain, so sales email aligns.
- Connect the sending domain in each HubSpot portal and publish both DKIM CNAMEs.
- Merge the HubSpot include into the single SPF record and recount lookups.
- Add a custom return-path if the client has Marketing Hub Enterprise with a dedicated IP.
- Publish DMARC at
p=nonewithrua, then review aggregate data for HubSpot IPs and selectors. - Send a test and inspect
Authentication-Resultsfordkim=pass header.d=example.comanddmarc=pass. - Record the selectors and portal IDs in the client runbook, then tighten the policy.
Treat HubSpot like any other third-party sender. The same pattern applies to Mailchimp and SendGrid. DMARC AI processes the aggregate reports per client domain, so HubSpot traffic shows up as a sending source there; it has no HubSpot integration.
Troubleshooting HubSpot DMARC failures
| Symptom | Likely cause | Fix |
|---|---|---|
| HubSpot shows "Missing record" for DKIM | Host published as hs1-123456._domainkey.example.com.example.com |
Enter only hs1-123456._domainkey; the DNS host appends the zone |
| "Typo" status | Value differs from HubSpot's | Re-copy Host and Required data exactly |
| "Conflicting record" | Another record at the same name | Remove the conflict, then refresh |
| Cloudflare verification never completes | Proxy or CNAME flattening enabled | Set the CNAMEs to DNS only; disable domain-wide flattening |
| Partially authenticated | DKIM fine, SPF or DMARC missing | Merge the SPF include; publish _dmarc |
| DMARC fails for sales email | Connected inbox provider not signing with client domain | Enable DKIM in Microsoft 365 or Google Workspace |
| SPF fails alignment in reports | Shared-IP return path is HubSpot's domain | Expected; rely on DKIM or add a custom return-path |
| Mail sent from a HubSpot-managed domain | Unverified or free-mail From address | Use an address on the connected sending domain |
| SPF permerror | Too many includes after adding HubSpot | Reduce lookups; see the SPF flattening guide |
Frequently asked questions
Does HubSpot Sales Hub need its own DKIM setup?
Not for one-to-one email or sequences sent through a connected Gmail or Outlook inbox. Those messages use the mailbox provider's network, so the client's Microsoft 365 or Google Workspace DKIM must be enabled. Sales Hub Starter and above can still connect a sending domain for any email HubSpot itself sends.
Can one sending domain be used by several HubSpot portals?
Yes. HubSpot documents that a sending domain can be connected to multiple accounts at once, and each account can connect up to 2,000 domains. Copy the DKIM and SPF values from each portal and check them against DNS, because values can be account-specific.
Why does my DMARC report show HubSpot SPF failing alignment?
On shared IPs the envelope sender belongs to HubSpot's bounce domain, so SPF passes for HubSpot but does not align with the client. That is expected. DMARC still passes through the aligned DKIM signature, or through SPF if the client has a custom return-path.
Do I need the DMARC record before HubSpot will send?
HubSpot needs DKIM verified before you can send from the domain, and shows Authenticated only when SPF and DMARC are also verified. A p=none record with an aggregate report address is enough to start, and it gives you the visibility to plan enforcement safely.
Will HubSpot email still deliver at p=reject?
Yes, provided the hs1 and hs2 DKIM CNAMEs are published and verified, because aligned DKIM passes DMARC on its own. Before enforcing, confirm in aggregate reports that every HubSpot portal and the connected inboxes pass, then move from p=quarantine to p=reject.