parsimony/internal
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi f14faf52d5 fix(outbound): give each SMTP phase its own deadline
A relay can take minutes to answer the final dot (content filter,
large message, slow link). One deadline over the whole transaction
cut it after the message had been accepted, so the delivery was
retried and sent again.

The connection now moves its deadline as the transaction advances:
setup (dial, greeting, TLS, AUTH, MAIL, RCPT, DATA) has
SMTPRelay.Timeout, 60 s by default; the upload has 60 s plus the size
at 32 KiB/s, at most 10 minutes; the reply to the final dot has
10 minutes (RFC 5321 4.5.3.2.6). go-smtp sets and clears its own
per-command deadlines, so a wrapper clips them to the current phase.
Context cancellation still closes the connection at once. A timeout
in any phase is temporary; after the final dot the error says the
outcome is unknown.
2026-11-10 15:20:49 +01:00
..
adminui feat(adminui): embed the admin SPA and serve it next to the API 2026-11-09 15:29:12 +01:00
api Merge branch 'feat/nl-posts-stats' into feat/newsletter 2026-11-10 13:02:41 +01:00
app feat(app): pass relay.rate_per_second to the queue worker 2026-11-10 12:37:15 +01:00
archive test(archive): give the pathological HTML check headroom under -race 2026-11-10 11:55:14 +01:00
cli Merge branch 'feat/nl-posts-stats' into feat/newsletter 2026-11-10 13:02:41 +01:00
config feat(config): relay.rate_per_second 2026-11-10 12:37:15 +01:00
dkimsign test: close gaps found by mutation checks on DKIM 2026-11-09 20:02:54 +01:00
ingest test(ingest): match the refusal text of a non-publisher by suffix 2026-11-10 12:37:13 +01:00
mbox fix(mbox): stop buffering a line beyond the size limit 2026-11-10 11:53:32 +01:00
outbound fix(outbound): give each SMTP phase its own deadline 2026-11-10 15:20:49 +01:00
queue Merge branch 'feat/nl-rate-limit' into feat/newsletter 2026-11-10 13:02:41 +01:00
router test: share one SetPolicies-based helper for the newsletter priority tests 2026-11-10 13:02:58 +01:00
store fix(store): add the outbox post_id and priority columns separately 2026-11-10 15:07:11 +01:00
web test(web): trimming, Retry-After rounding and the exact edges of the limit window 2026-11-10 12:45:49 +01:00