↑ ↓ select, Enter open, Esc close

View the content of a message in the Postfix queue

Adjust the values, the command updates live
root@server
postcat -q 4F2A31C0E12

Prints a message from the queue including envelope data, headers and body. The queue ID comes from postqueue -p. Useful for checking whether a suspicious message is spam and which script or account submitted it (for example via the X-PHP-Originating-Script header).

Also searched as

  • read email in mail queue
  • is this queued mail spam
  • check headers of queued email

Related one-liners

All in Mail

Read first, then run.

The commands on myline.de act directly on servers, files and databases. A wrong path or placeholder can delete data irreversibly or make a server unreachable.

  • All commands are provided without warranty and are not tested on every system.
  • Understand what a command does before running it, and check every placeholder.
  • Make a backup first and, if possible, try it on a test system.
  • You run commands at your own risk. Liability for damages is excluded to the extent permitted by law.