Is it possible to remove the mailed by: us-west-2.amazonses.com field in an email or replace it with mailed by: example.com? Amazon forums, this site, and google searches are very unclear. I am using Amazon SES to send the email. The via portion of the email is already removed, as I have a TXT record and DKIM enabled on the domain to prove ownership.

I understand that Amazon SES is the endpoint and is sending this email, but I'd like to know how to not advertise the fact.

I've also enabled SPF records on my domain, which I believe is just accomplishing the same feat twice if I'm using DKIM (I need verification if this is correct), but it still is labeling itself as mailed by amazonses.com. I've asked this question on Amazon SES Developer Forums and all google searches within the last year come back to this question or sites that have copied it. Is there a better place to ask this question?

  • 1
    SPF and DKIM should be sufficient. Do your headers show that they're passing those checks? – ceejayoz Oct 31 '14 at 23:34
  • Running dig _amazonses.mydomain.com txt shows the record Amazon told to put in, and the three CNAME values are also on the domain, as well. – user247445 Nov 1 '14 at 2:04
  • SPF validators show that the record is formatted correctly and valid, and Amazon is showing that DKIM is enabled and verified. – user247445 Nov 3 '14 at 16:03
  • did you find a way to fix this? – ksb Apr 24 '15 at 7:55

The mailed-by header is the usually used to persist the content of the envelope from or MAIL FROM through forwarding. Amazon do not allow the MAIL FROM to be customised. The following quote is from an Amazon employee in a comment on an blog post about SPF & DKIM:

The headers you mentioned [mailed-by] seem to be something appended by an ISP after the message left Amazon SES, rather than standard message headers. We unfortunately do not have control over receiver add-ons.

Nevertheless, assuming that the “mailed-by” value is based on the MAIL-FROM, the answer would be that right now all emails sent through Amazon SES have amazonses.com (or a subdomain of that) as the MAIL-FROM domain. We don't currently support its customization

Posted by Adrian@AWS on November 4, 2014 8:31:29 AM PST

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.