Amazon-ses provider using incorrect return-domain

System Information
  • Strapi Version: 3.6.8
  • Operating System: AWS Linux
  • Database: MySQL 8.0.28
  • Node Version: 14.18.1
  • NPM Version: 6.14.15

Dear all,

I’m encountering an issue with the amazon-ses email provider sending emails with the default eu-west-1.amazonses.com return domain, causing the SPF to fail.

The config is as follows:

  email: {
    provider: 'amazon-ses',
    providerOptions: {
      key: XXX,
      secret: XXX,
      amazon: 'https://email.eu-west-1.amazonaws.com',
    },
    settings: {
      defaultFrom: 'xxx@xxx.com',
      defaultReplyTo: 'xxx@xxx.com',
    },
  },

Also the Shipper email and Response email in all email templates are set to xxx@xxx.com.

Sending emails from this email address works fine using outlook, but sending a test email or an activation email from strapi doesn’t. My DMARC checker shows this error:

SPF failed since From domain xxx.com does not align with Return-Path domain eu-west-1.amazonses.com

Hopefully you can help me out with this!

Kind regards,
Irian