We are sending emails from Salesforce.com and gmail is our mailserver, but every time we send them they show up in the inbox with something along the lines of
firstname.lastname@example.org via qu98c2qwv8213ssasdj.lbtu.6jhneea4.6.bnc.salesforce.com
We would like to get rid of the via part and just have email@example.com shown. According to google (https://mail.google.com/support/bin/answer.py?answer=1311182
) adding an SPF record should do the trick. The issue we are having is that we added the SPF record and in the headers of the emails now, it passes, but still has the via part.
Is anyone familiar with this and if so, does google still respect the SPF records?
Below is what our SPF records look like.
v=spf1 mx ip4:18.104.22.168/23 ip4:22.214.171.124/24 ip4:126.96.36.199/23 ip4:188.8.131.52/23 ip4:184.108.40.206/22 ip4:220.127.116.11/23 ip4:18.104.22.168/23 ip4:22.214.171.124/22 include:_spf.google.com include:salesforce.com ~all
Below is an example of what I'm seeing in the header of the emails.
Received-SPF: pass (google.com: domain of firstname.lastname@example.org designates 126.96.36.199 as permitted sender) client-ip=188.8.131.52;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of email@example.com designates 184.108.40.206 as permitted sender) firstname.lastname@example.org
It appears to be working, but still has the via portion. Any help would be appreciated.