Email Authentication for Shopify Stores: SPF, DKIM, DMARC
Complete guide to email authentication for Shopify stores. Configure SPF, DKIM, DMARC for your store and marketing integrations like Klaviyo and Mailchimp.

Introduction
Shopify stores send critical transactional emails (order confirmations, shipping notifications) and marketing emails to customers. Proper email authentication ensures these emails reach inboxes instead of spam folders.
This guide covers complete email authentication for Shopify stores, including integrations with popular email marketing platforms.
What you'll configure:
- Shopify transactional email authentication
- Marketing platform integration (Klaviyo, Mailchimp)
- Complete DMARC protection
- Multi-sender authentication
Time required: 45-60 minutes
Understanding Shopify Email Architecture
Shopify stores typically send emails from multiple sources:
- Shopify transactional emails: Order confirmations, shipping notifications
- Marketing platform: Klaviyo, Mailchimp, Omnisend
- Support system: Zendesk, Gorgias, Help Scout
- Business email: Gmail, Microsoft 365
All must be properly authenticated to avoid spam folder placement.
Prerequisites
- ✅ Shopify store with custom domain
- ✅ DNS management access for your domain
- ✅ Access to marketing platform settings (if used)
Step 1: Configure Shopify Sender Email
1.1: Set Custom Sender Email
Go to Shopify Admin
- Settings → Notifications
Configure Sender Email
- Scroll to "Sender email"
- Set to:
store@yourdomain.comororders@yourdomain.com - NOT:
noreply@shopify.com
Important: Using a custom sender email from your domain is required for proper DMARC alignment.
1.2: Verify Domain
Shopify may require domain verification:
- Add verification TXT record to DNS
- Follow Shopify's verification instructions
Step 2: Configure SPF for Shopify
2.1: Shopify SPF Include
Add TXT record at DNS provider:
For Shopify only:
v=spf1 include:shops.shopify.com ~allFor Shopify + marketing platform:
v=spf1 include:shops.shopify.com include:spf.klaviyo.com include:servers.mcsv.net ~allRecord details:
- Name:
@oryourdomain.com - Type: TXT
- Value: SPF record above
2.2: Common Shopify Email Stack SPF
Shopify + Klaviyo:
v=spf1 include:shops.shopify.com include:spf.klaviyo.com ~allShopify + Mailchimp:
v=spf1 include:shops.shopify.com include:servers.mcsv.net ~allShopify + Omnisend:
v=spf1 include:shops.shopify.com include:spf.omnisend.com ~allShopify + Klaviyo + Google Workspace:
v=spf1 include:shops.shopify.com include:spf.klaviyo.com include:_spf.google.com ~all2.3: Verify SPF
Important: Monitor DNS lookup count—must be ≤10 lookups.
Step 3: Configure DKIM
3.1: Shopify DKIM
Important limitation: Shopify does NOT support custom DKIM for transactional emails sent via shops.shopify.com.
Workaround options:
Option 1: Use Shopify's DKIM (default)
- Shopify signs emails with their DKIM
- Alignment may be relaxed or fail
- Less control
Option 2: Use email service provider for all emails
- Route all emails through Klaviyo/Mailchimp
- Full DKIM control
- More complex setup
Option 3: Accept SPF-only authentication
- Shopify emails authenticated via SPF only
- Marketing emails use DKIM
- Combined DMARC still works
3.2: Configure Marketing Platform DKIM
For Klaviyo:
- Go to Klaviyo Settings → Domains & Addresses
- Add your domain
- Copy DKIM DNS records (3 CNAME records)
- Add to DNS:
k1._domainkey → dkim.klaviyo.com k2._domainkey → dkim2.klaviyo.com k3._domainkey → dkim3.klaviyo.com - Verify in Klaviyo
For Mailchimp:
- Go to Mailchimp → Website → Domains
- Add domain and verify
- Enable "Authenticate your domain"
- Add DKIM DNS records provided
- Verify
For Omnisend:
- Settings → Brand → Email Authentication
- Add domain
- Copy DNS records
- Add to DNS and verify
3.3: Verify DKIM
Test selectors: k1, default, mailchimp
Step 4: Implement DMARC
4.1: Create DMARC Record
Start with monitoring:
Add TXT record:
- Name:
_dmarc - Type: TXT
- Value:
v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com
4.2: Monitor DMARC Reports
Review reports for 2-4 weeks to identify all email sources:
- Shopify transactional emails
- Marketing platform
- Support system
- Any other services
4.3: Progressive Enforcement
After monitoring phase:
Quarantine:
v=DMARC1; p=quarantine; pct=100; rua=mailto:dmarc@yourdomain.com; adkim=r; aspf=rReject (full protection):
v=DMARC1; p=reject; pct=100; rua=mailto:dmarc@yourdomain.com; adkim=r; aspf=rImportant for Shopify:
- Use
adkim=r(relaxed DKIM alignment) - Use
aspf=r(relaxed SPF alignment) - This accommodates Shopify's email infrastructure
4.4: Verify DMARC
Step 5: Configure Marketing Integrations
Klaviyo Configuration
Complete setup:
Add domain in Klaviyo
- Settings → Domains & Addresses
- Add domain
- Verify ownership
Configure DNS
- Add DKIM CNAME records (k1, k2, k3)
- Add SPF include
- Verify in Klaviyo
Set sender address
- Use:
hello@yourdomain.com - NOT: Generic Klaviyo address
- Use:
Test
- Send test campaign
- Verify DKIM signature
- Check deliverability
Mailchimp Configuration
Complete setup:
Authenticate domain
- Website → Domains
- Add and verify domain
Enable authentication
- Click "Authenticate"
- Add DNS records
- Verify
Configure sender
- Use verified domain address
- Enable DKIM signing
Omnisend Configuration
Settings → Brand
- Add sending domain
- Complete verification
Email Authentication
- Add DNS records
- Verify SPF and DKIM
Step 6: Testing and Monitoring
6.1: Test Shopify Transactional Emails
Place test order
- Use test mode
- Check order confirmation email
View email headers
- Forward to Gmail
- Show original
- Verify authentication
Expected results:
spf=pass smtp.mailfrom=shops.shopify.com
dmarc=pass (alignment may vary)6.2: Test Marketing Emails
- Send test campaign from Klaviyo/Mailchimp
- Check headers
spf=passdkim=passdmarc=pass
6.3: Monitor Deliverability
Weekly checks:
- Email open rates (target: >20%)
- Spam complaint rate (target: <0.1%)
- Bounce rate (target: <2%)
- DMARC pass rate (target: >95%)
6.4: Complete Domain Audit
Checks:
- SPF configuration
- DKIM for all senders
- DMARC policy
- Blacklist status
Common Shopify Email Issues
Issue: Shopify emails going to spam
Causes:
- No SPF record
- Using default Shopify sender
- Missing DMARC
Solution:
- Add SPF with
include:shops.shopify.com - Set custom sender email from your domain
- Implement DMARC with relaxed alignment
Issue: Marketing emails authenticated but Shopify emails fail
Causes:
- Shopify not in SPF
- DMARC alignment too strict
Solution:
- Verify SPF includes
shops.shopify.com - Use relaxed DMARC alignment:
adkim=r; aspf=r
Issue: Too many DNS lookups in SPF
Causes:
- Multiple marketing platforms
- Too many
include:statements
Solution:
- Consolidate to one primary marketing platform
- Use SPF flattening
- Remove unused services
- Check lookup count →
Best Practices for Shopify Stores
Email Hygiene
✅ Clean email list regularly
- Remove bounces immediately
- Delete inactive subscribers (no engagement 6+ months)
- Use double opt-in
✅ Segment your list
- Active customers
- Abandoned carts
- Browsers vs buyers
✅ Monitor engagement
- Track opens, clicks
- Remove consistently non-engaged users
- A/B test subject lines
Compliance
✅ Include unsubscribe link
- Prominent in every marketing email
- One-click unsubscribe (required by Gmail/Yahoo)
✅ Honor opt-outs immediately
- Process within 48 hours (legal requirement)
- Better: instant processing
✅ Physical address
- Include in email footer
- Required by CAN-SPAM Act
Deliverability Optimization
✅ Warm up new domain
- Start with small volume
- Gradually increase over 2-4 weeks
- Send to engaged subscribers first
✅ Maintain consistent sending
- Regular schedule
- Avoid huge volume spikes
- Gradual growth
✅ Monitor reputation
- Google Postmaster Tools
- DMARC reports
- Bounce and complaint rates
Timeline for Complete Setup
Week 1:
- Configure Shopify sender email
- Set up SPF record
- Configure DKIM for marketing platform
- Create DMARC monitoring record
Week 2-5:
- Monitor DMARC reports
- Identify all email sources
- Fix authentication issues
- Test thoroughly
Week 6-8:
- Move to
p=quarantine - Monitor for issues
- Verify deliverability
Week 9+:
- Move to
p=reject - Ongoing monitoring
- Maintain email hygiene
The Bottom Line
Shopify email authentication requires:
- SPF: Include
shops.shopify.com+ marketing platforms - DKIM: Configure in marketing platform (Shopify limitation exists)
- DMARC: Use relaxed alignment, progressive enforcement
- Testing: Verify both transactional and marketing emails
Key Shopify considerations:
- Set custom sender email from your domain
- Use relaxed DMARC alignment
- Configure authentication for all email sources
- Regular monitoring and list hygiene
Next Steps
Audit your Shopify store's email security:
Need automated DMARC monitoring?
Shopify stores send high volumes of email—manual report review is time-consuming. Get:
- Automated report parsing
- Visual dashboards
- Deliverability alerts
- Policy recommendations
Related Articles:
Ready to improve your email deliverability?
Start monitoring your DMARC reports and get insights into your email authentication setup.
Start Free TrialRelated Articles
platform guidesHow to Set Up DMARC, SPF and DKIM for Constant Contact
Complete guide to configuring SPF, DKIM, and DMARC for Constant Contact. Fix authentication issues and improve email deliverability.
How to Add a DMARC Record in Cloudflare (Step-by-Step)
Learn how to add a DMARC record in Cloudflare DNS step by step. Includes example records, common mistakes, and verification with free tools.
How to Add a DMARC Record in GoDaddy DNS
Step-by-step guide to adding a DMARC record in GoDaddy DNS. Includes DNS settings, example records, troubleshooting tips, and free verification tools.