relay: hand outbound mail to relays and follow its status #261

Merged
jcoffey-dev merged 1 commits from relay/outbound-handover into main 2026-10-30 17:08:16 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev dd2554aa82 relay: hand outbound mail to relays and follow its status
ci / fork-checks (pull_request) Skipped
ci / build (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 10m26s
With sendThrough on, every non-local recipient is handed to a linked
relay that may send, in turn, skipping inboundOnly ones; with none
linked the mail waits in the queue (RL-20, RL-24). The queue marks the
recipients as handed to the relay and shows its replies. The lowest
linked node follows Outbound by push, records each final status so the
queue sends the DSNs, and destroys the relay's copy.

DeliveryStatus gains mx, the host a reply came from. The relay's
test-mx feature sends all mail to one local port for the system test,
which now covers hand-over, delivery, one DSN for a refusal (RL-T11),
and a deferral shown in the queue.
2026-10-30 09:16:02 -07:00