Include local mailboxes in backups from the panel #29

Merged
parkel merged 2 commits from feature/panel-mail-account-backups into main 2026-11-21 12:51:03 +01:00
Owner

Summary

  • Let operators choose whether to include local mailboxes when creating an account backup from the panel.
  • Require mailbox permissions for the option and for the corresponding backup history.
  • Reuse the existing backup queue and archive format. Enable local mail access in the backup service through an optional systemd drop-in.
  • Document how to enable the option on a single server.

Verification

  • Ruff formatting and lint checks passed. Django reported no migration changes and all 257 tests passed.
  • On Ubuntu 24.04 and 26.04, requested a mail-inclusive backup from the panel, processed it through Celery and the Unix socket, replayed the request, and restored the Dovecot mailboxes from the ZIP.
  • Validated the systemd units and drop-in with systemd-analyze.
## Summary - Let operators choose whether to include local mailboxes when creating an account backup from the panel. - Require mailbox permissions for the option and for the corresponding backup history. - Reuse the existing backup queue and archive format. Enable local mail access in the backup service through an optional systemd drop-in. - Document how to enable the option on a single server. ## Verification - Ruff formatting and lint checks passed. Django reported no migration changes and all 257 tests passed. - On Ubuntu 24.04 and 26.04, requested a mail-inclusive backup from the panel, processed it through Celery and the Unix socket, replayed the request, and restored the Dovecot mailboxes from the ZIP. - Validated the systemd units and drop-in with systemd-analyze.
parkel added 2 commits 2026-11-21 12:49:23 +01:00
Document enabling mailboxes in local panel backups
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Canceled after 0s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Canceled after 0s
4b8e44bb72
parkel merged commit 056858db0d into main 2026-11-21 12:51:03 +01:00
parkel deleted branch feature/panel-mail-account-backups 2026-11-21 12:51:03 +01:00
Sign in to join this conversation.