listmonk
listmonk copied to clipboard
bounce.go:170: error processing SES notification: notification type is not bounce
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.
SES sends many types of notifications. Perhaps you've enabled non-bounce notifications. I'm not familiar with SES config though.
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?
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.
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.
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?
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.
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
I followed the tutorial but was not receiving bounce notifications. The fix for me was after this line:
- 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.
This issue has been marked 'stale' after 90 days of inactivity. If there is no further activity, it will be closed in 7 days.