+91 92 888 888 64 LOG IN
Business Email & Google Workspace Updated Nov 18, 2026 4 views
Fast AMP Version

How to Configure SPF, DKIM, and DMARC DNS Records to Prevent Emails Going to Spam

Key Takeaway: Comply with strict Gmail and Yahoo 2024+ sender authentication mandates by properly publishing SPF, DKIM, and DMARC TXT records.

New Global Email Delivery Standards (Google & Yahoo Mandates)

Major mail providers (Google, Yahoo, Microsoft) enforce strict email sender requirements. Without proper domain authentication records, your outgoing emails will be rejected or land in the recipient's spam folder.

1. SPF (Sender Policy Framework) Record

SPF specifies which mail servers are authorized to send email on behalf of your domain name. Add a TXT record in your DNS zone:

Name / Host:    @ (or yourdomain.com)
Type:           TXT
Value:          v=spf1 +a +mx +ip4:SERVER_IP ~all

2. DKIM (DomainKeys Identified Mail)

DKIM adds a cryptographic signature to every outgoing email, proving the message was not altered in transit. In your cPanel, navigate to Email Deliverability and click Manage next to your domain to automatically generate and validate your 2048-bit DKIM public key.

3. DMARC (Domain-based Message Authentication)

DMARC tells receiving mail servers what to do if an incoming email fails SPF or DKIM checks. Add a TXT record:

Name / Host:    _dmarc
Type:           TXT
Value:          v=DMARC1; p=none; sp=none; rua=mailto:[email protected]

Was this article helpful?

Related Topics: spf record dkim key dmarc policy prevent email spam email deliverability google email sender requirements

More in Business Email & Google Workspace

View All in Category →

Still have questions?

Our technical support team is online 24/7 on WhatsApp to guide you step-by-step.

Chat with a Specialist