We use Rackspace cloud servers for our applications. Specifically we are running Ubuntu 11.10 and our apps run on a virtual host. We get complaints frequently that our emails (using PHP mail) go directly to spam. We send our application mail out directly from our server. The from address domain is set as the originating TLD.
After some investigation it dawned on me that I never set an
SPF Record for the domain. Currently I'm using this:
v=spf1 include:_spf.google.com ip4:18.104.22.168 ?all
but it doesn't seem to be working.
22.214.171.124 is the IP assigned to the server. I'm specifically looking for
Mailed-by headers to show up in the emails being sent but they don't. We are using Bluehost. I don't have a lot of experience using Google Apps and TXT records so I'm not exactly sure what all I need to include in my record to get this working. Any help is appreciated.