Skip to main content

chainmail get

Read up to 50 messages by ref. Each ref succeeds or fails on its own.

--full keeps quoted text and signatures and does not cut the body at body_limit. --raw writes one message's original bytes, and refuses a terminal.

Usage​

chainmail get <ref>... [flags]

Examples​

chainmail get cm1:work:INBOX:7:42
chainmail get --full cm1:work:INBOX:7:42
chainmail get --raw cm1:work:INBOX:7:42 > message.eml

Flags​

--full keep quoted text and signatures, and do not cut at body_limit
--raw write the original RFC 5322 bytes of one message to stdout, which must not be a terminal

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​