Deliverability: Check now uses fresh DNS answers (2026.x) #388

Merged
jcoffey-dev merged 1 commits from backport/deliverability-fresh-dns-2026 into release/2026 2026-11-13 16:05:09 +00:00
Owner

Backport of #387 to 2026.x. One commit, cherry-picked from main's d2b41a93. Patch by @StefanSa (#385).

Check now on the Deliverability page used the same cached DNS answers as normal mail traffic, so a report made right after fixing reverse DNS or adding a DMARC record could still show the old state. A manual check now skips this server's DNS caches for PTR, A/AAAA, SPF, DKIM, DMARC, TLS-RPT, blocklists and the MTA-STS record and policy, without reading or writing them. Unchanged: the scheduled daily check, SMTP delivery, and the ten-minute limit on manual checks.

The only conflict was the import line: this branch still has the VerifyPolicy import that main dropped. With it kept, the three files are byte-identical to Stefan's patch on v2026.11.11, which is what he tested.

Checked on this branch:

  • cargo test -p services --lib inbuxa_deliverability: 4 passed
  • system::deliverability::deliverability_tests (RocksDB): passed
  • cargo test -p tests --lib --no-run, cargo fmt --all --check, the four fork checks and changelog-check.py: clean
Backport of #387 to 2026.x. One commit, cherry-picked from main's d2b41a93. Patch by @StefanSa (#385). **Check now** on the Deliverability page used the same cached DNS answers as normal mail traffic, so a report made right after fixing reverse DNS or adding a DMARC record could still show the old state. A manual check now skips this server's DNS caches for PTR, A/AAAA, SPF, DKIM, DMARC, TLS-RPT, blocklists and the MTA-STS record and policy, without reading or writing them. Unchanged: the scheduled daily check, SMTP delivery, and the ten-minute limit on manual checks. The only conflict was the import line: this branch still has the `VerifyPolicy` import that main dropped. With it kept, the three files are byte-identical to Stefan's patch on v2026.11.11, which is what he tested. Checked on this branch: - `cargo test -p services --lib inbuxa_deliverability`: 4 passed - `system::deliverability::deliverability_tests` (RocksDB): passed - `cargo test -p tests --lib --no-run`, `cargo fmt --all --check`, the four fork checks and `changelog-check.py`: clean
jcoffey-dev added 1 commit 2026-11-13 15:40:21 +00:00
Deliverability: Check now uses fresh DNS answers
ci / fork-checks (pull_request) Skipped
ci / build (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 24m28s
db5b92cb40
A manually requested check now skips this server's DNS caches for every
DNS-backed finding: PTR, A/AAAA, SPF, DKIM, DMARC, TLS-RPT, blocklists,
and the MTA-STS record and policy. The caches are neither read nor
written, so normal SMTP delivery and the scheduled daily check keep
their cached behavior. The ten-minute limit on manual checks is
unchanged.

The MTA-STS policy fetch is split so the check can fetch a policy
without touching the SMTP policy cache.

Fixes #385

(cherry picked from commit d2b41a93f3)
jcoffey-dev merged commit b347779cda into release/2026 2026-11-13 16:05:09 +00:00
jcoffey-dev deleted branch backport/deliverability-fresh-dns-2026 2026-11-13 16:05:09 +00:00
jcoffey-dev referenced this issue from a commit 2026-11-17 17:02:41 +00:00
Sign in to join this conversation.