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

Category: Mail Servers & Postfix

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

List messages held in quarantine via the API

This returns messages flagged as spam and held for review, with sender, recipient, subject, and reason. Quarantine is where Rspamd puts mail scored above the reject threshold. Release or delete individual items with edit/qitem and delete/qitem.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.