curl -X GET "https://mail.example.com/api/v1/get/logs/postfix" -H "X-API-Key: $MAILCOW_API_KEY"

Category: Mail Servers & Postfix

curl -X GET "https://mail.example.com/api/v1/get/logs/postfix" -H "X-API-Key: $MAILCOW_API_KEY"

Fetch recent Postfix logs via the API

This returns the tail of the Postfix log showing SMTP transactions and delivery results. Useful to confirm a message left the server or find the deferral reason. Combine with get/mailq/all for a full queue picture.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.