[Solved] SPF Records
I'm using Google Apps for sending/receiving emails, but I've also installed Postfix to send emails created by scripts on the server (like contact forms etc.)
That's all working great, but to keep the emails from being spammed, I want to add an SPF record. That's where I'm having the trouble though.
The domain I've been testing this all on is
What I've been entering is:
Name: pliableweb.com
Value: v=spf1 a mx include:aspmx.googlemail.com include:_spf.google.com ~all
TTL: Default
Then when I view the zone file through Linode DNS manager, I see it as:
pliableweb.com TXT "v=spf1 a mx include:aspmx.googlemail.com include:_spf.google.com ~all"
But if I test out my site's DNS using a tool like
And I first added the rules 2 days ago now.
Does anyone know what I'm doing wrong? (Putting the wrong things in the Name/Value fields maybe?)
2 Replies
$ dig -t txt pliableweb.com.pliableweb.com
; <<>> DiG 9.4.3-P4 <<>> -t txt pliableweb.com.pliableweb.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44405
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 0
;; QUESTION SECTION:
;pliableweb.com.pliableweb.com. IN TXT
;; ANSWER SECTION:
pliableweb.com.pliableweb.com. 300 IN TXT "v=spf1 a mx include:aspmx.googlemail.com include:_spf.google.com ~all"
Edit - That has worked perfectly! Thanks again Stever, you rock!