Check and provision mail-domain DNS #77

Merged
parkel merged 2 commits from feature/mail-domain-dns-checks into main 2026-11-21 22:06:30 +01:00
Owner

Summary

  • Add an account-scoped mail DNS check for MX, A/AAAA, SPF, DMARC, selected DKIM keys, MTA-STS and TLS-RPT DNS records, and PTR for configured sending IPs.
  • Wire optional Rspamd signing and per-domain DKIM key generation into mailbox provisioning. Keep the private key on the mail node and compare the published key with the node's public key.
  • Queue MX, address, SPF, DMARC, and DKIM additions for opted-in Coulobre zones. Preserve existing policies, wait for ongoing publications, and report conflicting records or unpublished revisions.
  • Show the observed nameservers and provide copyable records and instructions for third-party DNS.

Closes #75

Verification

  • Ran 401 Django tests, Ruff, and the migration consistency check.
  • Provisioned mailboxes, published the zone through BIND, and independently verified a real Postfix/Rspamd DKIM signature against the published DNS. Checked that different sender and authenticated domains cannot use each other's signing keys.
  • Verified mailbox provisioning, public key retrieval, and zone publication over the existing constrained SSH transport between two Ubuntu 26.04 test nodes.
## Summary - Add an account-scoped mail DNS check for MX, A/AAAA, SPF, DMARC, selected DKIM keys, MTA-STS and TLS-RPT DNS records, and PTR for configured sending IPs. - Wire optional Rspamd signing and per-domain DKIM key generation into mailbox provisioning. Keep the private key on the mail node and compare the published key with the node's public key. - Queue MX, address, SPF, DMARC, and DKIM additions for opted-in Coulobre zones. Preserve existing policies, wait for ongoing publications, and report conflicting records or unpublished revisions. - Show the observed nameservers and provide copyable records and instructions for third-party DNS. Closes #75 ## Verification - Ran 401 Django tests, Ruff, and the migration consistency check. - Provisioned mailboxes, published the zone through BIND, and independently verified a real Postfix/Rspamd DKIM signature against the published DNS. Checked that different sender and authenticated domains cannot use each other's signing keys. - Verified mailbox provisioning, public key retrieval, and zone publication over the existing constrained SSH transport between two Ubuntu 26.04 test nodes.
parkel added this to the v0.4.0 - Mail operations milestone 2026-11-21 22:04:48 +01:00
parkel added 2 commits 2026-11-21 22:04:48 +01:00
Check mail-domain DNS and provide provider setup records
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Canceled after 0s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Canceled after 0s
ef95ed9521
parkel added the area/deploymentarea/dnsarea/mailarea/panel
kind
feature
labels 2026-11-21 22:04:48 +01:00
parkel merged commit d076f111b6 into main 2026-11-21 22:06:30 +01:00
parkel deleted branch feature/mail-domain-dns-checks 2026-11-21 22:06:30 +01:00
Sign in to join this conversation.