Mautic Community Forums

Mautic SES Bounce Processing

Your software
My Mautic version is: 3.1.0
My PHP version is: 7.2

Your problem
Hi,

Mautic 3.1.0 is not confirming the SNS subscription, I don’t see any errors in the logs.
I have added Amazon SES as API and its working perfectly fine, my other concern is since we added SES through API we still need to setup amazon webhook to process bounce and spam emails as described in this guide?

Thanks.

Hi yes.
Sns endpoint is different:

It worked for me! thanks.

SNS verification works but mautic is still not able to catch bounce emails through webhook, see some recent bounces in SES console but its not showing in Mautic.

Is there any cronjob to pull bounces from Amazon SES?

No, it’s not a cronjob. Should be immediate. But SNS sends with a certain delay.

Its been more than 1 hour, seem like Its not working for me, just to confirm when we process bounces through webhook we don’t need to setup mailbox in mautic configuration?

Thanks.

No, you don’t need a mailbox.
The data comes in like a webhook.

Should i have to wait more?

This is how it works:

  1. You send your emails
  2. The post office of those email addresses will send back a notification to Amazon within their own time frame. Maybe after 1 day.
  3. This message is processed by Amazon and using SNS the the bounce notification is sent back to Mautic.
    So it is not immediate, sometimes there is a delay of even 2 days. But if you send 5k emails, and you have 200 bounces, you should be getting something pretty much right away.

Btw - did you set the correcponding SNS topic by each email address in SES / and NOT by the domain, right?

Yes, i have setup the SNS topics on the sender email address of the SES.

Bounces are working in SES.

Follow the steps here for SNS configuration

Please configure SES to Include Original Headers -> enabled in notifications .

Go to SES->domains->select your domain->Notifications->Edit Configurations-> check Include original headers -> save config. Bounces will show up in email graphs

1 Like