Setting up SPF, DKIM, and DMARC for Google Workspace ensures your emails are authenticated, prevents spam, and improves deliverability.
What Are SPF, DKIM, and DMARC?
- SPF (Sender Policy Framework): It specifies which mail servers are allowed to send emails on behalf of your domain. Why? Prevents unauthorized servers from sending emails, reducing spam and phishing.
- DKIM (DomainKeys Identified Mail): Adds a digital signature to your emails, ensuring they aren't tampered with during transit. Why? Ensures the integrity of the message and verifies that it originated from your domain.
- DMARC (Domain-based Message Authentication, Reporting, and Conformance): Sets policies for how recipient servers should handle SPF/DKIM failures and provides reports. Why? Protects your domain from misuse and provides visibility into unauthorized email usage.
Before Going to Diagnose lets know the email status by following.
- EMail Tester : https://app.mailgenius.com/
- DNS Lookup : dig domain.com ANY
- Mxtoolbox :
Step 1: Add SPF Record
Log in to your domain registrar's DNS settings.
Add a new TXT record:
- Name/Host: @ or leave blank
- Type: TXT
- Value: v=spf1 include:_spf.google.com ~all
Step 2: Set Up DKIM
Go to the Admin Console in Google Workspace:
Navigate to Apps > Google Workspace > Gmail > Approve mail "Configure a mail authentication (DKIM)"
- Generate DKIM Key:
Select your domain and click Generate New Record.
Choose 2048-bit for better security.
- Add the DKIM Key to DNS:
Copy the generated TXT record details.
In your domain's DNS settings:
- Name/Host: google._domainkey
- Type: TXT
- Value: Paste the DKIM key provided by Google.
Return to the Admin Console and click Start Authentication.
- Verify DKIM: https://dkimcore.org/
Step 3: Set Up DMARC
Create a DMARC Policy:
Add a TXT record in your DNS settings:
- Name/Host: _dmarc
- Type: TXT
- Value: v=DMARC1; p=none; rua=mailto:subhash@tech2towards.com
No comments:
Post a Comment
testing