High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.
JavaScript campaigncampaign-managementemail-marketingemail-subscriptionlistmonkmailing-listnewsletternewsletter-managementnewsletter-softwareself-hostedsms-gatewaysmtptransactional-emails
Handle Postmark spam complaints. (#2679)
Kevin Cox2085abefb4f9
diff --git a/internal/bounce/webhooks/postmark.go b/internal/bounce/webhooks/postmark.goindex 3bed6961..00f3c626 100644--- a/internal/bounce/webhooks/postmark.go+++ b/internal/bounce/webhooks/postmark.go@@ -60,8 +60,8 @@ func (p *Postmark) ProcessBounce(b []byte, c echo.Context) ([]models.Bounce, errreturn nil, fmt.Errorf("error unmarshalling postmark notification: %v", err)}- // Ignore non-bounce messages.- if n.RecordType != "Bounce" {+ // Ignore irrelevant messages.+ if n.RecordType != "Bounce" && n.RecordType != "SpamComplaint" {return nil, nil}