Problem
You try to send messages and they are sent without SPF authentication causing delivery issues such as message rejections.
Environment
- DNS settings in the domain's host
Solution
Step 1 If all email from your organization is sent using Google Workspace only, copy this line of text for your SPF record:
Step 2 (Optional) Add Google Workspace plus other senders for your SPF record as seen in the examples below:
Step 3 Add the defined SPF record to your domain provider.
v=spf1 include:_spf.google.com ~all
- Google Workspace and IP range:
v=spf1 ip4:192.168.0.0/16 include:_spf.google.com ~all
- Google Worksapce, IP range and third party service:
v=spf1 ip4:192.168.0.0/16 include:_spf.google.com include:sendyourmail.com ~all
- Google Workspace and single IP address and mail server:
v=spf1 a:mail.example.com ip4:192.72.10.10 include:_spf.google.com ~all
- Google Workspace and email service with server:
v=spf1 include:servers.mail.net include:_spf.google.com ~all