← salesforce-sends-me-spam.org

How to report spam sent through Salesforce.

I've filed 165 of these. Here's what I've learned about doing it right.

The short version Open the email's full headers. If you see X-SFDC-LK, it came through Salesforce. Email abuse@salesforce.com with that org ID in the subject line and the full headers pasted into the body. One account per report. Ask them to shut the account down, not just take you off the list.

Step 1: Check that it really came through Salesforce

A lot of cold email goes out through Salesforce without saying so anywhere you can see. The only way to know is the full headers, the technical record that travels with every email.

Mail sent through Salesforce has lines like these. This is from a real one I got:

Received: from smtp-03a6d7591fb0473cf.core1.sfdc-mchho0.mta.salesforce.com
X-SFDC-LK: 00Dd500000CqY6j
X-SFDC-User: 005d5000004fZ18
X-SFDC-Binding: iCBT705cy8bBFz3B
X-SFDC-EmailCategory: apiMassMail

If you see a Received line ending in mta.salesforce.com and any X-SFDC- lines, Salesforce delivered it.

What the X-SFDC headers mean

X-SFDC-LK
The Salesforce org ID, meaning the customer account that sent it. It always starts with 00D. This is the single most useful thing to put in your report, because it tells Salesforce exactly which customer to look at.
X-SFDC-User
The user inside that account who sent it. It starts with 005.
X-SFDC-Binding
An identifier for the sending pool the mail went out on. Many unrelated customers can share one, so two emails with the same binding didn't necessarily come from the same company. It's still worth including: it shows Salesforce how much of the problem runs through one pool. More on X-SFDC-Binding.
X-SFDC-EmailCategory
How it was sent. apiMassMail means bulk mail sent by a program, not one person typing one email.

Step 2: Report it to Salesforce

Send it to abuse@salesforce.com, or use Salesforce's abuse report form. On the form, pick Unsolicited Commercial Email (UCE) / Missing Unsubscribe Link and paste the headers into the Email Headers box. Their policies are at salesforce.com/company/legal/abuse.

Step 3: Know what to expect

You'll get an automatic reply with an 8-digit case number. Keep it. In my experience, that's usually all you'll get: out of 165 cases, somebody at Salesforce told me they'd done something 6 times. Every one of my cases is listed here.

If the same sender comes back on a new account, report the new org ID and mention the old case numbers. A record of repeat reports matters if you go further.

Step 4: Report it to Amazon too, if you want a record

Salesforce runs its mail servers on Amazon Web Services, so most of this mail comes from Amazon's network. You can report it through Amazon's abuse form or to trustandsafety@support.aws.com. Be realistic: in my experience AWS almost always answers that the mail came from its customer Salesforce and that you should report it to Salesforce. It's still a written record that AWS was told.

The exception is mail that went out through Amazon SES, Amazon's own email service. You'll see amazonses.com in the headers. That one is squarely Amazon's to deal with.

Step 5: Go past the abuse desks

What not to do