Add export-managesieve: an archive's Sieve scripts into any ManageSieve server #31

Merged
jcoffey-dev merged 1 commits from feat/export-managesieve into main 2026-10-30 07:53:35 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev 3f1e0ea775 Add export-managesieve: an archive's Sieve scripts into any ManageSieve server
ci / test (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 2m51s
ci / announce (pull_request) Skipped
Lists the target's scripts, PUTSCRIPTs each one that is missing or
differs, and makes the archive's active script active with SETACTIVE.
Stateless like export-imap, so a second run writes nothing; nothing is
deleted. A refused script is counted with the server's reason and the
run goes on. --dry-run checks each script with CHECKSCRIPT where the
server has it.

Live-tested against the Dovecot rig (tests/integration_export_managesieve.rs)
and with the mock server; the live export-imap test is now listed in
usage.md too.
2026-10-30 00:50:12 -07:00