Skip to main content

chainmail rule run

Run a rule now over the whole cache, oldest first, up to its cap

Usage​

chainmail rule run <id|name> [--max N] [--account NAME] [flags]

Examples​

# work through a backlog 100 messages at a time
chainmail rule run inbox-cleanup --max 100

Flags​

--account string only this account (default: every account the rule covers)
--max int32 act on at most this many messages per account, 1 to 5000 (default: the rule's max_per_run)

Global flags​

--output string output format: json or table (default $CHAINMAIL_OUTPUT, then cli.toml, then table on a terminal, json otherwise)
--socket string daemon socket (default $CHAINMAIL_SOCKET, then cli.toml, then /run/chainmail/chainmail.sock)

See also​