listmonk icon indicating copy to clipboard operation
listmonk copied to clipboard

bounce.go:170: error processing SES notification: notification type is not bounce

Open robguthrie opened this issue 10 months ago • 8 comments

Version:

  • listmonk: [eg: v3.0.0]
  • OS: [e.g. Ubuntu / Docker]

Description of the bug and steps to reproduce: I've setup SNS notification topic as described in https://github.com/knadh/listmonk/issues/1668#issue-2080438101 but I'm not getting bounce notifications, in the logs I can see this error:

bounce.go:170: error processing SES notification: notification type is not bounce

I've tripple checked my settings and it seems correct.

robguthrie avatar Apr 03 '24 02:04 robguthrie

SES sends many types of notifications. Perhaps you've enabled non-bounce notifications. I'm not familiar with SES config though.

knadh avatar Apr 03 '24 06:04 knadh

Sorry, I should have added these are logs in response to me using the [email protected] address to test. There are no other logs happening during this time, and the count of logs corresponds to my tests sent. The SNS topic confirmation request works correctly though.

Is there a way to enable more log output so I can see the body of the request?

robguthrie avatar Apr 03 '24 06:04 robguthrie

There are no verbose payload logs. It should be fine to ignore those errors as non-bounce (bounce/complaint) notifications are discarded with that particular message. The simulator must be sending non bounce/complaint notifications.

knadh avatar Apr 03 '24 07:04 knadh

I wouldn't say this is fine and to ignore it. I haven't tested v3.0, but earlier versions had this issue before being fixed. I'm on v2.5.1 with that exact setup and everything works normally.

If you're only emailing [email protected], then there's clearly something wrong. The SES simulator does not send non-bounce/complaint notifications.

Since there are no verbose logs, you may want/have to try v2.5.1 to test, and if you're still getting the error then you've misconfigured something. If it works properly then it's a bug with v3.0.

Make sure that in this part of the instructions the 3rd option (1 bounce, 2 complaint, 3) is left blank:

In the AWS console, go to Simple Email Service and click "Verified identities" in the left sidebar. Click your verified domain and go to the "Notifications" tab. Next to "Feedback notifications", click "Edit". For "Bounce feedback" and "Complaint feedback", select the SNS topic you created earlier.

MaximilianKohler avatar Apr 03 '24 12:04 MaximilianKohler

Thanks, I've verified with a webhook tester that the SNS notifications are correct.

Is it safe to rollback from v3 to v2.5.1 without changing the database?

robguthrie avatar Apr 03 '24 22:04 robguthrie

Is it safe to rollback from v3 to v2.5.1 without changing the database?

According to the docs it is not safe. I'd recommend cloning your server temporarily to test it.

EDIT: you don't even need to clone it actually, just temporarily create a new server and install v2.5.1 to test.

MaximilianKohler avatar Apr 04 '24 00:04 MaximilianKohler

I have the same problem even with real bounce emails (not AWS SES bounce simulator emails)

I received the email bounce notification, but the bounce is not detected by Listmonk

benstaf avatar May 26 '24 15:05 benstaf

I followed the tutorial but was not receiving bounce notifications. The fix for me was after this line:

  1. Click your verified domain and go to the "Notifications" tab.

I had to repeat this step for the "Email address" Identity Type as well in addition to "Domain" Identity Type.

zkirill avatar Jun 06 '24 09:06 zkirill

This issue has been marked 'stale' after 90 days of inactivity. If there is no further activity, it will be closed in 7 days.

github-actions[bot] avatar Sep 05 '24 01:09 github-actions[bot]