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?
Best Answer
You can replace
mailed-by: us-west-2.amazonses.com
withmailed by: sub.example.com
but not withmailed-by: example.com
.In other words, unnaked domain (with subdomain) like
sub.example.com
is possible but naked domain likeexample.com
is impossible to replace withus-west-2.amazonses.com
formailed-by
.To replace
us-west-2.amazonses.com
withsub.example.com
formailed-by
, you must create acustom MAIL FROM domain
.The below is how you create the custom MAIL FROM domain
sub.example.com
.Click on the domain
example.com
.Then, the detail is shown.
Then, click on
MAIL FROM Domain
to showSet MAIL FROM Domain
button.Then, clicking on
Set MAIL FROM Domain
button, the window is open.Then, put the subdomain "sub" to the field and click on
Set MAIL FROM Domain
button.Then, the
MX Record
andSPF Record
are shown. You must add theMX Record
andSPF Record
toRoute 53
in addition to the records of the domainexample.com
to verify the custom MAIL FROM domainsub.example.com
.Finally, check if the custom MAIL FROM domain
sub.example.com
is verified underMAIL FROM domain
section.If
MAIL FROM domain status
is stillpending verification
, click onretry
in blue.Then, it will be verified.
After the custom MAIL FROM domain is verified,
mailed-by
issub.example.com
whether or not you send emails usingexample.com
orsub.example.com
and whether or not your account is in the sandbox.