Skip to content
machinemail

inbound

Inject raw RFC 5322 messages (needs the inbound_raw permission). The `machinemail inbound` commands: arguments, flags, examples and the API routes they call.

Inject raw RFC 5322 messages (needs the inbound_raw permission).

CommandSummary
inbound rawInject raw message

Every command also takes the global flags.

inbound raw

Inject raw message.

Stores a raw RFC 5322 message (the request body, any Content-Type, at most 40 MB) as if it had been received, once per recipient inbox in the credential’s scope. The recipient is X-Recipient, otherwise every To and Cc address.

Injected messages are marked received_via: “raw”. Their trust report never believes the authentication results they carry (headers and provider verdicts are ignored): authentication is none, so the trust level is at most unknown.

An unrestricted key (*) does not imply inbound_raw; it must be granted by name.

Requires the inbound_raw permission.

shell
machinemail inbound raw [flags]

Flags

--recipient <value>string
Recipient address. Defaults to the To and Cc addresses of the message.
-d, --data <@file|->string
Request body: @file, or - for stdin.

Examples

shell
machinemail inbound raw --data @message.eml
cat message.eml | machinemail inbound raw --data -

API

On this page

0% read