Relay: relays in the domains' MX and SPF records (RL-25) #268

Merged
jcoffey-dev merged 1 commits from relay/dns into main 2026-10-30 22:01:32 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev 00bd215cc1 Relay: relays in the domains' MX and SPF records (RL-25)
ci / fork-checks (pull_request) Skipped
ci / build (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 8m46s
A relay that is enabled, joined and has a public name is in the records
of the domains it serves: their MX set is the relays, each at its new
mxPreference (10 by default), and SPF names each sending host by its
address records. The relays marked inboundOnly are left out of SPF, and
this server's own hosts are in it unless a relay has sendThrough on.
Hosts under the domain get their own HELO policy. Past SPF's ten
lookups, the domain's SPF record is left as it is, with an event.

When what the relays put in the records changes, the link service
queues the MX and SPF records again for every domain with Automatic DNS
that publishes them. A hash of it is kept in the store, so a server with
no relays publishes nothing new.

A publish never cuts an MX set of two or more hosts down to one: that
record set is left as it is and the task says why.
2026-10-30 14:47:58 -07:00