Assign linked mail domains before provisioning mailboxes #273

Merged
parkel merged 2 commits from fix/scoped-mail-domain-provisioning into main 2026-12-04 00:12:45 +01:00
Owner

Bug fixes

  • Set up the domain assignment on linked mail receivers before dispatching the default mailbox, SMTP application or routing provisioning. This works independently of whether DNS is managed by Coulobre.
  • Show a blocked mail-domain setup beside the domain. Operators see the cause and can retry. Retrying an existing failed mailbox also checks a missing domain assignment.

Security

  • Keep manual assignment as the default. A mail receiver administrator can opt in per trusted scoped panel. Automatic assignment is exact and cannot take over a domain assigned to another panel or one with existing mail resources. Local mail and current scopes do not need reconfiguration.

Documentation

  • Document trusted receiver configuration and recovery steps. Add the blocked-prerequisite UI pattern to the shared panel design guide.

Verification

  • Ruff, Django checks, and the migration drift check passed.
  • Django suite: 747 tests run, one skipped. All 37 installer tests passed.
  • An isolated Ubuntu 26.04 Postfix smoke test checked real Unix peer identity, opt-in, idempotency, another panel's ownership, existing Postfix routes, and no mailbox configuration writes from assignment.

Upgrade notes

  • Includes an additive panel database migration. Upgrade panels and linked mail receivers together using the existing release procedure.
  • Enable automatic assignment on the mail receiver only for trusted scoped panels, or continue assigning domains manually. After upgrade, retry affected mail setups or already failed mailboxes in the operator workspace.

Closes #272

## Bug fixes - Set up the domain assignment on linked mail receivers before dispatching the default mailbox, SMTP application or routing provisioning. This works independently of whether DNS is managed by Coulobre. - Show a blocked mail-domain setup beside the domain. Operators see the cause and can retry. Retrying an existing failed mailbox also checks a missing domain assignment. ## Security - Keep manual assignment as the default. A mail receiver administrator can opt in per trusted scoped panel. Automatic assignment is exact and cannot take over a domain assigned to another panel or one with existing mail resources. Local mail and current scopes do not need reconfiguration. ## Documentation - Document trusted receiver configuration and recovery steps. Add the blocked-prerequisite UI pattern to the shared panel design guide. ## Verification - Ruff, Django checks, and the migration drift check passed. - Django suite: 747 tests run, one skipped. All 37 installer tests passed. - An isolated Ubuntu 26.04 Postfix smoke test checked real Unix peer identity, opt-in, idempotency, another panel's ownership, existing Postfix routes, and no mailbox configuration writes from assignment. ## Upgrade notes - Includes an additive panel database migration. Upgrade panels and linked mail receivers together using the existing release procedure. - Enable automatic assignment on the mail receiver only for trusted scoped panels, or continue assigning domains manually. After upgrade, retry affected mail setups or already failed mailboxes in the operator workspace. Closes #272
parkel added 2 commits 2026-12-04 00:10:57 +01:00
Assign linked mail domains before dispatching mailbox provisioning
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Successful in 1m47s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Successful in 1m59s
32e590e791
parkel added the area/mail
kind
bug
labels 2026-12-04 00:10:57 +01:00
parkel merged commit 996006cfe5 into main 2026-12-04 00:12:45 +01:00
parkel deleted branch fix/scoped-mail-domain-provisioning 2026-12-04 00:12:45 +01:00
Sign in to join this conversation.