Subdomain Strategy for Email Sending
Using subdomains strategically for email sending helps isolate reputation, protect your brand, and improve deliverability. This guide covers when and how to implement a subdomain email strategy.
Why Use Subdomains for Email?
Your domain reputation is one of the most critical factors in email deliverability. When you send all types of email from your root domain, a problem with one email stream can damage your entire sending reputation. Subdomains provide isolation between different email types.
Benefits of Subdomain Isolation
Problems with one email type (like marketing) don't impact deliverability of critical emails (like password resets).
When deliverability issues arise, you can quickly identify which email stream is affected.
Use different email service providers for different purposes without configuration conflicts.
Track reputation metrics and deliverability separately for each email stream.
Common Subdomain Patterns
Here are widely-used subdomain naming conventions for different email types:
| Subdomain | Use Case | Example |
|---|---|---|
| mail. | General transactional email | mail.example.com |
| news. | Newsletters and marketing | news.example.com |
| marketing. | Promotional campaigns | marketing.example.com |
| support. | Customer support tickets | support.example.com |
| transactional. | Receipts, confirmations | transactional.example.com |
| alerts. | Security and account alerts | alerts.example.com |
| bounce. | Return-path for bounces | bounce.example.com |
Authentication Setup for Subdomains
Each sending subdomain needs its own email authentication records. Here's what to configure:
SPF Record
Create an SPF record for each subdomain that sends email:
# For mail.example.com
Host: mail
Type: TXT
Value: v=spf1 include:_spf.google.com ~all
# For news.example.com (using different ESP)
Host: news
Type: TXT
Value: v=spf1 include:sendgrid.net ~allDKIM Record
Each subdomain should have its own DKIM key for signing:
# DKIM selector for mail.example.com
Host: selector1._domainkey.mail
Type: TXT
Value: v=DKIM1; k=rsa; p=MIGfMA0GCS...
# DKIM selector for news.example.com
Host: selector1._domainkey.news
Type: TXT
Value: v=DKIM1; k=rsa; p=MIIBIjANBg...DMARC for Subdomains
Subdomains inherit the parent domain's DMARC policy by default, but you can set subdomain-specific policies:
# Subdomain-specific DMARC (optional)
Host: _dmarc.mail
Type: TXT
Value: v=DMARC1; p=reject; rua=mailto:dmarc@example.comDMARC Subdomain Policy (sp= tag)
The sp= tag in your root domain's DMARC record controls the default policy for all subdomains. This is crucial for protecting your brand.
# Root domain DMARC with subdomain policy
Host: _dmarc
Type: TXT
Value: v=DMARC1; p=reject; sp=reject; rua=mailto:dmarc@example.com| sp= Value | Behavior |
|---|---|
| sp=none | Monitor only - no action on subdomain failures (risky) |
| sp=quarantine | Send failing subdomain emails to spam |
| sp=reject | Reject failing subdomain emails entirely (recommended) |
Important: If sp= is not specified, subdomains inherit the p= policy. Always explicitly set sp=reject to protect all subdomains.
Protecting Unused Subdomains
Attackers often spoof unused subdomains because they typically lack authentication records. Protect them with "null" records:
Null SPF Record
Prevent any IP from sending as your unused subdomain:
# Block all email from unused.example.com
Host: unused
Type: TXT
Value: v=spf1 -allNull MX Record
Indicate the subdomain does not accept email (RFC 7505):
# No mail accepted at unused.example.com
Host: unused
Type: MX
Priority: 0
Value: .Subdomain DMARC Override
For extra protection, add an explicit DMARC reject policy:
Host: _dmarc.unused
Type: TXT
Value: v=DMARC1; p=rejectPro tip: Wildcard protection with sp=reject in your root DMARC covers most cases, but explicit records on high-value subdomains provide defense in depth.
When to Use vs. Not Use Subdomains
Use Subdomains When:
You send high-volume marketing email that may generate complaints
You need to protect critical transactional email delivery
You use multiple email service providers for different purposes
You want granular control over reputation and deliverability
You're warming up a new IP or domain for sending
Skip Subdomains When:
You only send low-volume, high-quality transactional email
Your email volume is too low to build subdomain reputation
You lack the resources to manage authentication for multiple subdomains
Brand consistency in the From address is critical
Summary
- 1.Use subdomains to isolate reputation between email types (marketing, transactional, support)
- 2.Configure SPF, DKIM, and optionally DMARC for each sending subdomain
- 3.Set
sp=rejectin your root DMARC to protect all subdomains - 4.Protect unused subdomains with null SPF records (v=spf1 -all)
- 5.Balance complexity vs. benefit based on your email volume and types
Example Multi-Subdomain Setup
Here's a complete example for a company using subdomains:
# Root domain DMARC (protects all subdomains)
_dmarc.example.com TXT "v=DMARC1; p=reject; sp=reject; rua=mailto:dmarc@example.com"
# Transactional email subdomain
mail.example.com TXT "v=spf1 include:_spf.google.com -all"
s1._domainkey.mail TXT "v=DKIM1; k=rsa; p=..."
# Marketing email subdomain
news.example.com TXT "v=spf1 include:sendgrid.net -all"
s1._domainkey.news TXT "v=DKIM1; k=rsa; p=..."
# Unused subdomain protection
test.example.com TXT "v=spf1 -all"
test.example.com MX 0 .Check Your Subdomain Authentication
Use our scanner to verify your subdomains have proper SPF, DKIM, and DMARC records configured. We'll identify any authentication gaps.
Scan Your Domain