curl -X GET "https://mail.example.com/api/v1/get/mailq/all" -H "X-API-Key: $MAILCOW_API_KEY"
List the Postfix queue via the Mailcow API
This returns every message currently in the Postfix queue with ID, sender, recipients, and deferral reason. Equivalent to postqueue -p but over HTTP with the same API key. Useful for scripts that alert on queue growth.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.