knadh / listmonk

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.
https://listmonk.app
GNU Affero General Public License v3.0
14.46k stars 1.32k forks source link

SES bounces not being recorded after upgrading from v2.4 to v2.5 #1460

Closed MaximilianKohler closed 1 month ago

MaximilianKohler commented 1 year ago

Version:

I sent two campaigns to bounce@simulator.amazonses.com and neither one triggered a bounce record. The only records I have are old ones: ses bounce email record Yet I received the MAILER-DAEMON emails from amazon notifying/confirming that I did send an email to them and it bounced.

I also sent to suppressionlist@simulator.amazonses.com and complaint@simulator.amazonses.com and they were recorded correctly.


EDIT:

I don't know if this is a problem, but I noticed that previously when a contact would get blocklisted it would also unsubscribe them. With my SES bounce-test emails, it no longer does. Probably due to the new bounce settings: ses bounce settings

If I edit the contact while they're blocklisted, then it will unsubscribe them after I save.

MaximilianKohler commented 1 year ago

@knadh I learned more info. The issue is that they will not add another bounce if one already exists.

Steps:

Send a campaign to

success@simulator.amazonses.com
bounce@simulator.amazonses.com
complaint@simulator.amazonses.com
suppressionlist@simulator.amazonses.com

If none of them have bounces on record then they will add one.

Once they have at least one bounce on record they will not add another bounce to the record.

Previous listmonk versions did not have this behavior. As you can see in the first screenshot, they were able to add as many as 3 bounces to their record.

MaximilianKohler commented 5 months ago

The issue is that the settings here prevent another bounce from being recorded: ses bounce settings

Those 2-2-1 numbers essentially work as a "max bounce ceiling". So even if you unblock the subscriber, if they meet that threshold another bounce will not be recorded.