Add export-directory: a server's accounts, groups, lists and aliases, without secrets #28

Merged
jcoffey-dev merged 1 commits from feat/export-directory into main 2026-10-30 06:57:06 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev 960d2ff1cf Add export-directory: a server's accounts, groups, lists and aliases, without secrets
ci / test (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 4m11s
ci / announce (pull_request) Skipped
Reads domains, users, groups, mailing lists, tenants and roles from the
registry with an administrator's login and writes directory.json with
domains.csv, users.csv, groups.csv, lists.csv and aliases.csv. Every read
names its properties, so credentials, encryption keys and DKIM keys are
never fetched, and only named fields are written even if a server sends
more. Ids become addresses and names; --domain keeps the export to some
domains with the tenants and roles they use. CSV cells a spreadsheet
would run as formulas start with '.

Session::registry_account finds the account that advertises the
registry, as inbuxa and upstream list it per account.
2026-10-29 23:52:02 -07:00