I need to be able to receive emails from my php webform on my website, I use Google Apps for the mail recipient and my website is hosted with Godaddy. I receive email from other places and I have looked and I think the problem is that the web sever thinks they are 'local' messages. In addition to this I also want to allow a site called bookerville to send messages from my site on my behalf. They provided me with the follow SPF code...
v=spf1 include:bookerville.com ?all
Some one set up the current SPF record which seems to be invalid which is (i don't think the ip4 bit is correct as I beleive it needs the sever ip address after it? Also I read on another thread that the ip4 bit isn't required???:
v=spf1 mx ip4:v=spf1 include:bookerville.com ?all include:secureserver.net ~all
I had a look around the web and on here and this seems to be the closest solution although I don't know much about Mx and SPF records so feeling out of my depth.
v=spf1 include:_spf.google.com a a:abc.example.org a:xyz.example.org -all
. This says, include Google's SPF record (which will allow all their mail servers to send mail on behalf of your domain), and allow anything in this domain which has an A record, and specifically allow 2 other hosts by verifying their A records. Fail everything else.
Lets say my website is www.example.com. Can someone provide me with a suitable SPF text to include the bookerville code (ABOVE) and also any code required for google and which will allow for php form mail to come through??
Thanks in advance