Add operator mail-header diagnostics #236

Merged
parkel merged 1 commits from feature/operator-mail-diagnostics into main 2026-12-02 00:33:32 +01:00
Owner

Refs #233

New features

  • Add an operator-only Mail diagnostics page for pasted message headers. Show reported SPF, DKIM and DMARC results, exact alignment, common DKIM failure reasons, and available Rspamd or SpamAssassin verdicts.
  • Prefill the managed mail DNS check with DKIM selectors from the message and let operators look up a reported Postfix queue ID.

Improvements

  • Add an optional queue-ID filter and enhanced status codes to domain-scoped mail delivery searches.

Security

  • Require a server administrator with verified MFA. Process the headers within the request and discard them before rendering the result.
  • Treat pasted headers as reported evidence and keep Postfix journal results scoped to the selected domain.

Verification

  • 649 Django tests ran, with one skip. All nine focused diagnostics and delivery tests passed.
  • Ruff lint and formatting checks and the Git whitespace check passed.

Remaining scope for #233

Add an isolated synthetic clean and GTUBE check on the selected mail node and define the optional end-to-end probe. This change uses no live messages or scanner policy changes.

Refs #233 ## New features - Add an operator-only Mail diagnostics page for pasted message headers. Show reported SPF, DKIM and DMARC results, exact alignment, common DKIM failure reasons, and available Rspamd or SpamAssassin verdicts. - Prefill the managed mail DNS check with DKIM selectors from the message and let operators look up a reported Postfix queue ID. ## Improvements - Add an optional queue-ID filter and enhanced status codes to domain-scoped mail delivery searches. ## Security - Require a server administrator with verified MFA. Process the headers within the request and discard them before rendering the result. - Treat pasted headers as reported evidence and keep Postfix journal results scoped to the selected domain. ## Verification - 649 Django tests ran, with one skip. All nine focused diagnostics and delivery tests passed. - Ruff lint and formatting checks and the Git whitespace check passed. ## Remaining scope for #233 Add an isolated synthetic clean and GTUBE check on the selected mail node and define the optional end-to-end probe. This change uses no live messages or scanner policy changes.
parkel added 1 commit 2026-12-02 00:30:46 +01:00
Add operator mail-header diagnostics
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Canceled after 0s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Canceled after 0s
b2603a0eef
parkel merged commit ca9543ee0a into main 2026-12-02 00:33:32 +01:00
parkel deleted branch feature/operator-mail-diagnostics 2026-12-02 00:33:32 +01:00
Sign in to join this conversation.