Contributed by @StefanSa in #385 (attached patch, rebased onto main).
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.
Rebase note: main had already dropped the unused VerifyPolicy import, so that line is left out. Otherwise the patch is as attached.
Checked locally:
cargo test -p services --lib inbuxa_deliverability: 4 passed
Contributed by @StefanSa in #385 (attached patch, rebased onto main).
**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.
Rebase note: main had already dropped the unused `VerifyPolicy` import, so that line is left out. Otherwise the patch is as attached.
Checked locally:
- `cargo test -p services --lib inbuxa_deliverability`: 4 passed
- `system::deliverability::deliverability_tests` (RocksDB): passed
- `cargo test -p tests --lib --no-run`, rustfmt, and the four fork checks: clean
Fixes #385
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
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Contributed by @StefanSa in #385 (attached patch, rebased onto main).
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.
Rebase note: main had already dropped the unused
VerifyPolicyimport, so that line is left out. Otherwise the patch is as attached.Checked locally:
cargo test -p services --lib inbuxa_deliverability: 4 passedsystem::deliverability::deliverability_tests(RocksDB): passedcargo test -p tests --lib --no-run, rustfmt, and the four fork checks: cleanFixes #385