I having a domain name with Godaddy, I am pointing the A record to Host1 and Pointing the MX record for Host2 for my email services. I try to send an email out, and found that the email fall into recipient junk/spam box. After check with the Host2. They mention that I should add SPF record for my domain name. Can any one guide me on this setting?
Your SPF record will be determined by which server's IP address is sending the email. Host1 or Host2. Also, the IP address of the mail server on that server may be different than the IP address used by shared websites (the mail server may send from its own dedicated IP address). SPF is added as a TXT record to the DNS (I assume your DNS is at GoDaddy where your domain is registered). You can see this on GoDaddy's site about setting up a SPF: https://support.godaddy.com/help/article/680/managing-dns-for-your-domain-names A generic SPF record that I use looks like this: "v=spf1 +a +mx +ip4:192.0.0.12 -all" Where 192.0.0.12 is to be replaced by the IP address of the server sending the email. Add that to your DNS as a TXT Record. For more reading: http://www.openspf.org/SPF_Record_Syntax http://en.wikipedia.org/wiki/Sender_Policy_Framework One more thing: You should consider using DKIM in addition to SPF if you can.