docker compose -f /opt/mailcow-dockerized/docker-compose.yml exec postfix-mailcow postcat -q 4A2B3C7D9E

Category: Mail Servers & Postfix

docker compose -f /opt/mailcow-dockerized/docker-compose.yml exec postfix-mailcow postcat -q 4A2B3C7D9E

Show the raw source of one queued message

postcat -q prints the envelope and message content of a single queue file identified by its queue ID, exactly as stored. Grep it for headers and Received lines to trace where a stuck message came from. The queue ID comes from postqueue -p or postqueue -j.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.