Policies
The org’s rules on forwarding and sessions.
On this page
mailset policies get [--org <id>]
mailset policies get
mailset policies set
Change the org’s policies.
Admin or ownerPasskey
Flags
Forwarding rules: allowed with a
passkeycheck, ornever.One of
passkeyneverHow long a new sign-in lasts, in days: 30, 7 or 0.5 (12 hours).
It can ask for your passkey. It prints “This needs your passkey. Open <link>”, then waits until the link is approved or refused. Read its output as it comes: through head or tail, the link shows only after the wait.
Returns
With --json it prints what the API returns.
mailset policies set [--forwarding passkey|never] [--shared-ai] [--session-days <n>] [--org <id>]
mailset policies set --forwarding never --session-days 7