Problem
It is brought to your attention that some emails sent by a client are being tagged as spam.
Environment
- Gmail
Solution
Enable Sender Policy Framework (SPF)
- Login to the DNS dashboard in your domain host.
- Add the following record to your domain:
- Type: TXT
- Name/Host: @ or domain name or leave it blank
- TTL: default or 3600 seconds
- Value:
v=spf1 include:_spf.google.com ~all
Generate DomainKeys Identified Mail (DKIM) record
- Log in to the Admin console.
- Navigate to Apps > Google Workspace > Gmail > Authenticate email.
- In the Selected domain menu, select the domain where you want to set up DKIM.
- Click Generate new record.
- For DKIM key bit length select 2048.
- Important: Longer keys are more secure, for additional details see this article.
- Note: If your domain provider allows it, consider switching to a 2048-bit key if you were previously using a 1024-bit key. Otherwise, select 1024.
- For Prefix selector, we recommend you to select the default.
- Click Generate.
- Copy the DKIM values shown in the Authenticate email window.
- Go to the DNS settings in your domain host.
- Add a TXT record in your DNS Records and use the value generated in the Admin console.
- Note: Wait for 48 hours before following the next step.
Turn on DKIM signing
- Log in to the Admin console.
- Navigate to Apps > Google Workspace > Gmail > Authenticate Email.
- In the Selected domain menu, select the domain where you want to turn on DKIM.
- Click Start Authentication. Process finishes when the status at the top of the page changes to: Authenticating email with DKIM.