postfix_queue_message
Inspect a single queued Postfix message to diagnose delivery delays: view queue, recipient states, delay reasons, route, DKIM alignment, and notes, with sensitive data redacted.
Instructions
One queued message, from its queue file (postcat -e -h; the body is never read): which queue it is in, arrival time and size, every envelope recipient with its state (pending / delivered / canceled) and, for pending ones, the delay reason with category, hint and provider playbook; the Received route oldest first (hosts, IPs, TLS, per-hop delay); DKIM signatures and whether they align with the From: domain; the primary headers; and notes (missing Message-ID/Date, unaligned DKIM, bulk mail without one-click unsubscribe, null sender, on hold). Always redacted: local parts become [user-N] (domains kept), display names, subjects and free-text headers are hidden, credential-like headers removed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| queue_id | Yes | one Postfix queue ID, e.g. 4F2A1C3B9D (short) or 4bNqJx2rG9z1Hk (long), from postfix_queue_list |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| age | No | ||
| dkim | Yes | ||
| hops | Yes | ||
| notes | Yes | ||
| queue | Yes | ||
| sender | Yes | ||
| source | Yes | ||
| headers | Yes | ||
| queue_id | Yes | ||
| redacted | Yes | ||
| recipients | Yes | ||
| age_seconds | No | ||
| from_domain | No | ||
| arrival_time | No | ||
| message_size | Yes | ||
| sender_domain | Yes | ||
| recipient_domains | Yes |