parsimony/internal/router
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi fddf14e285 fix(router): count only failed recipient-unknown DSNs as hard bounces
- Parse the bounce as an RFC 3464 report: multipart/report with a
  message/delivery-status (or message/global-delivery-status) part.
- Count a hard bounce only for a per-recipient block with Action: failed
  and a status of 5.1.1, 5.1.2, 5.1.3, 5.1.6 or 5.1.10.
- Policy and content rejections (5.7.x), full mailboxes (5.2.x), delays,
  4.x.x and Status lines in plain text or quoted text no longer count.
- Tests with real-looking DSNs for each class, quoted text and multiple
  recipient blocks; the VERP token check is unchanged.
2026-11-10 11:50:01 +01:00
..
bounce_test.go fix(router): count only failed recipient-unknown DSNs as hard bounces 2026-11-10 11:50:01 +01:00
commands.go fix(router): count only failed recipient-unknown DSNs as hard bounces 2026-11-10 11:50:01 +01:00
dsn.go fix(router): count only failed recipient-unknown DSNs as hard bounces 2026-11-10 11:50:01 +01:00
headers.go feat(router): archive accepted posts and add per-recipient unsubscribe links 2026-11-09 15:20:01 +01:00
identity_test.go fix(ingest): answer 552 for a message too big to hold, with tests 2026-11-10 11:39:41 +01:00
loop_test.go fix(security): discard mail loops and automatic replies 2026-11-09 20:24:16 +01:00
m2_test.go fix(router): count only failed recipient-unknown DSNs as hard bounces 2026-11-10 11:50:01 +01:00
m3_test.go fix(security): hold posts whose From header does not match the sender 2026-11-09 20:23:07 +01:00
router.go fix(ingest): answer 552 for a message too big to hold, with tests 2026-11-10 11:39:41 +01:00
router_test.go fix(security): hold posts whose From header does not match the sender 2026-11-09 20:23:07 +01:00