ok and here the exact output from the initial prepare:
stalwart-migrate prepare: review how the v0.16 settings are converted to v1.
Press Enter to accept the value in brackets.
==== Data categories ====
Data categories to migrate
v0.16: Every category below exists in the source.
v1: Every category is selected by default. Categories can also be changed per run with --include and --exclude. The MTA queue and scheduled tasks are only copied by the final run, once v0.16 is stopped, so nothing is delivered or run twice.
Categories
- Settings [settings]
- Accounts, groups, domains and other principals [principals]
- Mailboxes, emails and submissions [mail]
- Calendars and events [calendars]
- Address books and contacts [contacts]
- Files [files]
- Sieve scripts [sieve]
- Identities [identities]
- Push subscriptions [push_subscriptions]
- Spam training samples [spam_samples]
- Received DMARC, TLS and ARF reports [reports]
- Archived items (enterprise) [archive]
- Learned spam filter models [spam_model]
- MTA queue [queue]
- Scheduled tasks [tasks]
- Metrics and tracing history [telemetry]
(comma separated) [settings, principals, mail, calendars, contacts, files, sieve, identities, push_subscriptions, spam_samples, reports, archive, spam_model, queue, tasks, telemetry]: 1
==== Other settings ====
Changed defaults
v0.16: Some settings still have their v0.16 default value.
v1: v1 changed these defaults (cache sizes, report domain expressions, Pyzor, the SQL login query, the NATS port, connection pool sizes and others). Pinning keeps the v0.16 behaviour; inheriting adopts the v1 default.
Recommended: The recommended policy pins defaults whose change would alter behaviour (Pyzor, SQL login query, Redis user name, NATS port, log file prefix, OIDC display name claim) and inherits the rest.
Policy
- Recommended per setting [recommended]
- Keep every v0.16 default [pin]
- Adopt every v1 default [inherit]
[recommended]: 1
==== Authentication ====
OAuth client registration (x:OidcProvider)
v0.16: With requireClientRegistration off (the default), v0.16 accepted any client_id at the authorization endpoint without a registration. With it on, only registered clients worked, and anonymousClientRegistration controlled whether anyone could register one.
v1: v1 rejects a client_id that is neither registered, a stateless id issued by its RFC 7591 registration endpoint, nor a Client ID Metadata Document URL. Applications that used an arbitrary unregistered client_id stop working after cutover until they are registered as OAuthClient objects. At the same time, v1 always accepts RFC 7591 registration of public clients under the anonymous HTTP rate limit (confidential clients need sysOAuthClientCreate), so a v0.16 restriction on registration cannot be kept.
anonymousClientRegistration: true
requireClientRegistration: false
Client registration
- Accept the v1 behaviour (register unregistered clients after cutover) [accept]
- Stop the migration [abort]
[accept]: 1
New permissions
v0.16: Roles listed the permissions they grant; 37 permissions no longer exist in v1 and are removed.
v1: v1 adds permissions for IMAP and JMAP metadata, the metadata settings, connected OAuth applications, the search index queue and share cleanup tasks. Custom roles do not get them automatically.
New permissions
- Grant each new permission to roles that had the matching old one [grant]
- Do not grant them [none]
[grant]: 1
Summary: 46255 objects to write, 12 dropped, 61 warnings, 0 errors, 4 questions answered now.
Every question has an answer; run can start.