Reputation: 39
I´m using AWS SES to send EMails to our members. DKIM and MAIL FROM are properly configured and verified.
However, when checking the EMails sent via SES, I still get a Return Path of "[email protected]" and as a result of this, the SPF alignment check fails.
Upvotes: -1
Views: 60
Reputation: 11604
I think this is the intended behavior as per docs considerations
If you specify a Return-Path header, Amazon SES sends bounce and complaint notifications to the address that you specified. However, the message that your recipients receive contains a different value for the Return-Path header. If you use the Amazon SES API v2 SendEmail operation with either Simple or Templated content, or use the SendBulkEmail operation, you cannot set custom header content for headers that are set by SES; therefore, the following headers are disallowed as custom headers: BCC, CC, Content-Disposition, Content-Type, Date, From, Message-ID, MIME-Version, Reply-To, Return-Path, Subject, To
However I think the error is due to different issue which is custom domain issue in my opinion
According to customer domain setup docs
You'll need to setup a specific TXT record that allows amazonses.com to send emails on behalf of your custom domain. If you have already followed the instruction here to add the custom record, then you'll need to give some time for DNS records to propagate so that SES can see the updated records.
This process usually take a few minutes, but it may take up to 72 hours. Once the domain setup is verified, you'll receive an email from SES informing you that the domain is setup correctly.
Here is the similar answer in the community: https://repost.aws/questions/QUeD213b-TSUGUai4RJvcybQ/spf-issues-with-ses-get-a-bounce-sending-email#ANqr4PRQL-SbKWuOs-WJsvpg
Upvotes: 1