listmonk/internal/bounce
Kevin Cox 2085abefb4
Handle Postmark spam complaints. (#2679)
The code attempts to do this by handling the `SpamComplaint` `Type` however this is sent with a `RecordType` of `SpamComplaint` rather than `Bounce` so is ignored. Accepting this additional `RecordType` solves the issue.

This behaviour is described in Postmark's documentation.

> Note that that spam complaints, unsubscribes/subscribes, or manual deactivations have their own webhooks and are not trigged via the Bounce webhook.
>
> https://postmarkapp.com/developer/webhooks/bounce-webhook

https://postmarkapp.com/developer/webhooks/spam-complaint-webhook#spam-complaint-webhook-data
2025-09-29 20:23:58 +05:30
..
mailbox Fix POP mail parsing in multipart bounce e-mails. 2022-04-03 11:37:11 +05:30
webhooks Handle Postmark spam complaints. (#2679) 2025-09-29 20:23:58 +05:30
bounce.go Fix a number of cosmetic inconsistenies across handlers and functions. 2025-04-05 13:41:31 +05:30