Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Correct SPF record using google apps

I am using google apps, and google is handling my email.

I have created the SPF record mention in the help forum in google, but the SPF record did not pass, verified by using [email protected] and [email protected].

After searching a bit I found that the SPF mentioned in google

v=spf1 include:aspmx.googlemail.com ~all 

is wrong and buggy, after consulting a hardcore programmer, we created an SPF record as

v=spf1 a mx include:_netblocks.google.com include:aspmx.googlemail.com include:_spf.google.com ~all 

This passed the test using both the method mentioned above. However when I send an email to a###l@ind###########cer.org it shows delivery failed with the following message

Delivery to the following recipient failed permanently:      a###l@ind##########cer.org  Technical details of permanent failure: Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 550 550 The sender did not meet Sender Policy Framework rules. Please see http://spf.pobox.com (state 18). 

However if I send mail from Yahoo or Gmail it gets delivered successfully, can anyone help me out?

like image 626
Subho Halder Avatar asked Jul 04 '09 11:07

Subho Halder


People also ask

How do I fix my SPF record?

Check the servers and services in your SPF record. Follow the steps in Check if you have an existing SPF record. Make sure all servers and senders that currently send email for your domain are included in your SPF record. Update your SPF record with any new sender information.

How do I update my SPF record in Google Workspace?

Sign in to the management console for your domain host and locate the page where you update DNS TXT records for your domain. For help on how to find this page, check the documentation for your domain provider. Note: If you're adding a SPF record for a subdomain, enter the subdomain instead of @.

Does Google check SPF?

An SPF record was found for the domain google.com. The syntax check of the SPF record does not show any obvious errors. The SPF record for google.com is valid. The SPF record contains a reference to external rules, which means that the validity of the SPF record depends on at least one other domain.


1 Answers

The following TXT record works for me:

v=spf1 include:_spf.google.com ~all 
like image 101
Alan Haggai Alavi Avatar answered Oct 20 '22 09:10

Alan Haggai Alavi