relay: deliver outbound mail #260

Merged
jcoffey-dev merged 1 commits from relay/outbound-send into main 2026-10-30 15:53:42 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev a41b840e5e relay: deliver outbound mail
ci / fork-checks (pull_request) Skipped
ci / build (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 11m25s
The relay now sends what the downstream hands it: by MX, one domain at a
time, with DANE where the MX and the host's addresses are signed and its
TLSA records are, MTA-STS where the domain enforces a policy, and
otherwise STARTTLS per the new outboundTls setting. Each recipient's
deliveryStatus is the remote server's own reply; retries follow
outboundRetry, and what is still queued at expiresAt is refused with the
last reply. Sessions report outbound.attempt and outbound.tls events, the
latter for TLS-RPT. DNS, DANE and MTA-STS come from crates/outbound-tls.
2026-10-30 08:39:54 -07:00