Provision mail and publish DNS on separate servers #53

Merged
parkel merged 3 commits from feature/remote-mail-dns-nodes into main 2026-11-21 17:36:53 +01:00
Owner

Summary

  • Let the existing mail and DNS workers use an independent remote destination for each service through optional systemd drop-ins. The panel keeps the existing request, status, and retry flow.
  • Use OpenSSH with pinned host keys, separate sender keys, and fixed receiver commands. Each receiver relays requests to its local Coulobre service socket.
  • Document how to install the same Coulobre package on the destination and how multiple installations under the same administration can share a service endpoint.

Related issues

Closes #43
Closes #44
Refs #52 for the admin health view.

Verification

  • Ran 357 Django tests, Ruff, and the migration check. Checked that the documented shell snippets parse and that both OpenSSH client examples select the expected settings.
  • Used two isolated Ubuntu 26.04.1 VMs with real systemd sockets, OpenSSH, BIND, Postfix, and Dovecot. The panel VM had local BIND, Postfix, and Dovecot masked.
  • Verified a failed host-key check and a rejected client key through the panel and relay logs. Corrected the keys and retried the requests.
  • Used a second source address and independent keys to provision a second domain on the same destination. Queried both domains on the authoritative server, published a newer SOA serial, replayed mailbox provisioning, and verified the updated Dovecot quota and one mailbox entry per address.
## Summary - Let the existing mail and DNS workers use an independent remote destination for each service through optional systemd drop-ins. The panel keeps the existing request, status, and retry flow. - Use OpenSSH with pinned host keys, separate sender keys, and fixed receiver commands. Each receiver relays requests to its local Coulobre service socket. - Document how to install the same Coulobre package on the destination and how multiple installations under the same administration can share a service endpoint. ## Related issues Closes #43 Closes #44 Refs #52 for the admin health view. ## Verification - Ran 357 Django tests, Ruff, and the migration check. Checked that the documented shell snippets parse and that both OpenSSH client examples select the expected settings. - Used two isolated Ubuntu 26.04.1 VMs with real systemd sockets, OpenSSH, BIND, Postfix, and Dovecot. The panel VM had local BIND, Postfix, and Dovecot masked. - Verified a failed host-key check and a rejected client key through the panel and relay logs. Corrected the keys and retried the requests. - Used a second source address and independent keys to provision a second domain on the same destination. Queried both domains on the authoritative server, published a newer SOA serial, replayed mailbox provisioning, and verified the updated Dovecot quota and one mailbox entry per address.
parkel added this to the v0.2.0 - Hosting operations milestone 2026-11-21 17:34:33 +01:00
parkel added 3 commits 2026-11-21 17:34:33 +01:00
Use transport-neutral DNS and mailbox failure messages
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Canceled after 0s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Canceled after 0s
8974b55f98
parkel added the area/deploymentarea/dnsarea/mail
kind
feature
labels 2026-11-21 17:34:33 +01:00
parkel merged commit 9a09314758 into main 2026-11-21 17:36:53 +01:00
parkel deleted branch feature/remote-mail-dns-nodes 2026-11-21 17:36:53 +01:00
Sign in to join this conversation.