Add native Dovecot mailbox backup and restore #26

Merged
parkel merged 3 commits from feature/native-mailbox-backups into main 2026-11-21 12:24:16 +01:00
Owner

Summary

  • Add backup-mailbox and restore-mailbox commands for Coulobre-managed Dovecot Maildirs.
  • Use Dovecot to copy the messages, folders, flags, and subscriptions. Publish the archive only after a complete copy.
  • Validate the archive against the mailbox address before restoring to a fresh managed Maildir. Preserve the destination mailbox credentials.
  • Document backup and recovery on the local mail server and on separate mail nodes.

Verification

  • Ruff lint and format checks passed. Django reported no migration changes and all 230 tests passed.
  • Published and restored mailbox archives on Ubuntu 24.04 with Dovecot 2.3 and Ubuntu 26.04 with Dovecot 2.4. Verified messages, flags, folder subscriptions, and mailbox UID validity.
  • Restored a 2.3 archive on a separate 2.4 node with independently provisioned credentials and a different mail service UID.
## Summary - Add `backup-mailbox` and `restore-mailbox` commands for Coulobre-managed Dovecot Maildirs. - Use Dovecot to copy the messages, folders, flags, and subscriptions. Publish the archive only after a complete copy. - Validate the archive against the mailbox address before restoring to a fresh managed Maildir. Preserve the destination mailbox credentials. - Document backup and recovery on the local mail server and on separate mail nodes. ## Verification - Ruff lint and format checks passed. Django reported no migration changes and all 230 tests passed. - Published and restored mailbox archives on Ubuntu 24.04 with Dovecot 2.3 and Ubuntu 26.04 with Dovecot 2.4. Verified messages, flags, folder subscriptions, and mailbox UID validity. - Restored a 2.3 archive on a separate 2.4 node with independently provisioned credentials and a different mail service UID.
parkel added 3 commits 2026-11-21 12:21:45 +01:00
Document mailbox backup and recovery procedures
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Canceled after 0s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Canceled after 0s
bd0f0a3e57
parkel merged commit 692aefa890 into main 2026-11-21 12:24:16 +01:00
parkel deleted branch feature/native-mailbox-backups 2026-11-21 12:24:16 +01:00
Sign in to join this conversation.