Documentation
Sign inGet started

bird email tools analyze-headers

Usage

代码示例
bird email tools analyze-headers <raw> [flags]

Description

Analyze raw email headers
Analyze a raw email's headers and get back the headline fields (from, to, subject, date), the SPF/DKIM/DMARC authentication verdicts, and the full relay path with per-hop delays. Paste the message source into raw; everything from the first blank line onward (the body) is ignored. Use this to explain why a message failed authentication, to trace where it slowed down in transit, or to read the headers of a suspicious message. Offline — nothing is looked up or sent. Public — no authentication required.
Build the request from the <raw> argument, a JSON AnalyzeEmailHeadersRequest body via --body-file ("-" reads stdin), or both — an inline value overrides the matching body field. Run --example to print a ready-to-edit body, or --dry-run to print the resolved request without sending it.

Examples

代码示例
# print the body shape (no credentials needed)
bird email tools analyze-headers --example

Options

Request

NameDescription
--body-fileRead the JSON request body from this file; "-" reads stdin
--examplePrint a complete example request body, then exit
--dry-runPrint the resolved request without sending it, then exit
--idempotency-keyDeduplication key; a retry with the same key won't act twice

Options

NameDescription
--response-schemaPrint the fields this command returns, then exit
NameDescription
bird email tools analyze-dmarc-reportAnalyze a DMARC aggregate report
bird email tools auditAudit a domain's email authentication
bird email tools split-dns-recordSplit a long DNS TXT value into 255-octet chunks
bird email tools validate-bimiValidate a BIMI record
bird email tools validate-dmarcValidate a DMARC record