mirror of
https://github.com/mailscope/kumomta.git
synced 2026-09-10 04:22:13 +00:00
Entries now have a uuid that identifies them within a given instance (NOT within a cluster). The id is returned when the entry is established: ```console $ kcli --endpoint http://127.0.0.1:8000 bounce --everything --reason boop { "id": "9a946198-9351-4e0e-b460-fc84e066878a", "bounced": {}, "total_bounced": 0 } ``` You can list entries with their remaining duration: ```console $ kcli --endpoint http://127.0.0.1:8000 bounce-list [ { "id": "9a946198-9351-4e0e-b460-fc84e066878a", "campaign": null, "tenant": null, "domain": null, "reason": "boop", "duration": "4m 57s 313ms 891us 882ns" } ] ``` and cancel them: ```console $ kcli --endpoint http://127.0.0.1:8000 bounce-cancel --id 9a946198-9351-4e0e-b460-fc84e066878a removed 9a946198-9351-4e0e-b460-fc84e066878a ``` and the error case if you try it again: ```console $ kcli --endpoint http://127.0.0.1:8000 bounce-cancel --id 9a946198-9351-4e0e-b460-fc84e066878a Error: bounce entry 9a946198-9351-4e0e-b460-fc84e066878a not found ```