[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Email from Salesforce.com with "via" in header

Posted on 2011-10-27
7
Medium Priority
?
1,742 Views
Last Modified: 2016-02-17
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

whoever@company.com via qu98c2qwv8213ssasdj.lbtu.6jhneea4.6.bnc.salesforce.com

We would like to get rid of the via part and just have whoever@company.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:204.14.232.0/23 ip4:204.14.237.0/24 ip4:204.14.234.0/23 ip4:204.14.238.0/23 ip4:96.43.144.0/22 ip4:96.43.148.0/23 ip4:202.129.242.0/23 ip4:182.50.76.0/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 whoever=company.com__59781ye07vt0ibcc.besei523sdfsdfd0up@qu98c2qwv8ca9bfj.lbtu.6jhneea4.6.bnc.salesforce.com designates 204.14.232.69 as permitted sender) client-ip=204.14.232.69;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of whoever=company.com__59781ye07vt0ibcc.besei5zr3sfsdf3242p@qu98c2qwv8ca9bfj.lbtu.6jhneea4.6.bnc.salesforce.com designates 204.14.232.69 as permitted sender) smtp.mail=whoever=company.com__59781ye07vt0ibcc.besei5zr3xefd0up@qu98c2qwv8ca9bfj.lbtu.6jhneea4.6.bnc.salesforce.com
Return-Path: <whoever=company.com__59781ye07vt0ibcc.besei5zr3xefd0up@qu98c2qwv8ca9bfj.lbtu.6jhneea4.6.bnc.salesforce.com>

It appears to be working, but still has the via portion.  Any help would be appreciated.

Thanks,
Steve
0
Comment
Question by:s_kipjack
  • 4
  • 3
7 Comments
 
LVL 21

Accepted Solution

by:
Papertrip earned 2000 total points
ID: 37041190
Since the mails have an envelope-from of @salesforce.com, then adding their include to your SPF record isn't going to do anything for this particular issue.  If salesforce.com was sending the mails with an envelope-from of @yourdomain.com, then you would need the include.

Also I just noticed that all of the ip4 mechanisms in the salesforce.com include are also listed as ip4's in your SPF record -- unnecessary, just use the include.

Yes Google honors SPF records.

Are you able to change the envelope-from on the mails generated by salesforce?
0
 
LVL 21

Expert Comment

by:Papertrip
ID: 37041356
I wouldn't be surprised if you were not able to.  What salesforce is doing here is a common practice done by many companies who send mails "from" another user (but do it the right way, like sfdc) including PayPal and Evite.

Also, if it's not clear now, your SPF record is not where the "problem" is.
0
 

Author Comment

by:s_kipjack
ID: 37041887
Thanks for your response.  I'm currently investigating whether I can change that in salesforce.  

Also, thanks for the comment about the ip addresses being redundant.  I stripped those out of the SPF record.  I'll let you know the outcome of the envelope-from in salesforce.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 21

Expert Comment

by:Papertrip
ID: 37108495
Any luck?
0
 

Author Comment

by:s_kipjack
ID: 37108701
Actually, you were right on with the envelope-from solution.  Getting it implemented in Salesforce is possible, but we are still working through a solution with there support team. I appreciate your answer and your help!  I'll update once we get a final solution so that other can see how this is done.

Thanks again!
0
 
LVL 21

Expert Comment

by:Papertrip
ID: 37108706
Awesome good luck!
0
 

Author Comment

by:s_kipjack
ID: 37121015
Ok, so we have finally tracked down the solution for this.  It can be implemented with a few clicks of the button once the SPF records are setup correctly.  Though, this was not the simplest of solutions to track down, hopefully this will help others with this same problem.

Steps:
1) Setup -> Email Administration -> Deliverability then uncheck "Enabled compliance with standard email security mechanisms"

2) Under the same screen you need to disable bounce management.

Once you do those two things you will no longer have the "via whoever@company.com via qu98c2qwv8213ssasdj.lbtu.6jhneea4.6.bnc.salesforce.com" in the emails you send out from salesforce.com.

Papertrip, thanks for your help in this matter!  Your info started the chain of events for us to get to this solution.  
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I wrote this article to explain some important DNS concepts that should be known to avoid some typical configuration errors I often see in forums. I assume that what is described here is the typical behavior of Microsoft DNS client. I don't know …
Note: You must have administrative privileges in order to configure lead or case queues. Salesforce.com (http://www.Salesforce.com) is a cloud-based customer relationship management (CRM) system. It is widely used around the world by sales and ma…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question