Incorrect SPF record for GMAIL

Wouter0100

Verified User
Joined
Nov 9, 2012
Messages
27
Dear Directadmin users,

I've been struggling with an error that we'll receive when we send an email to a gmail adress. In the headers we keep getting:

Received-SPF: permerror (google.com: domain of test@[correct domain] uses a mechanism not recognized by this client. unknown mechanisms: )) client-ip=[directadmin ip];

I'll think this is the reason the emails go to the spam. The SRV records are:

[correct domain]. => "v=spf1 a mx ip4:[directadmin ip] ~all"

Whats wrong here, and why do these emails go to the spam?

Thanks,
Wouter
 
You ned to adjust your SPF record to include Google. First delete the existing SPF TXT record, then add this new SPF TXT record (change 123.123.123.123 with your server IP):

Code:
yourdomain.com.	TXT	"v=spf1 a mx ip4:123.123.123.123 include:_spf.google.com ?all"
 
I'm not sure what the OP means. Is the email hosted on DirectAdmin server? or on Google? If the former, then the record may be correct but should likely be a TXT record rather than an SRV record.

Jeff
 
Back
Top