oz0 tenant mail-sender

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).

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

FlagTypeDefaultDescription
--clearboolsend from the relay's own address again
--jsonboolprint JSON instead of a table

Inherited flags

FlagTypeDefaultDescription
--contextstring$OZ0_CONTEXT or <config dir>/orchestrator-zero/context.jsonCLI context file written by server init
--log-levelstringinfolog level: debug, info, warn or error

See all oz0 commands and the global flags.

On this page
Copyright © 2026