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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
backup-mailboxandrestore-mailboxcommands for Coulobre-managed Dovecot Maildirs.Verification