oz0 tenant mail-sender
For: Operators and developers looking up a command.
Agents' mail goes from this address, which must be in the tenant's mail domains (add its domain first with oz0 tenant mail-domains add). Through the cluster's relay it is the From only when the operator lets its domain through the relay for this tenant (orchestrator-zero server --smtp-sender-domains <tenant>=<domain>); otherwise, and without one, mail goes from the relay's own address (--smtp-from), with this address as Reply-To. Mail sent through Microsoft Graph goes as this address's mailbox, so that way needs one.
Receiving servers check that the From domain aligns with the domain the relay or Graph signs for (DMARC); the docs page on email says how. Admins of the tenant may set it; each change is audited (tenant.mail_sender).
Usage
oz0 tenant mail-sender <tenant> <address> | --clear [flags]
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--clear | bool | send from the relay's own address again | |
--json | bool | print JSON instead of a table |
Inherited flags
| Flag | Type | Default | Description |
|---|---|---|---|
--context | string | $OZ0_CONTEXT or <config dir>/orchestrator-zero/context.json | CLI context file written by server init |
--log-level | string | info | log level: debug, info, warn or error |
See all oz0 commands and the global flags.