Delete all queue including any schedules */*

Hello,

Is there a way to delete all queues for all domains in KumoMTA — similar to --queue=/ in PowerMTA?

While working on authentication, I accidentally left the server open relay on 0.0.0.0. During that time, some external source injected a large number of messages, and now I’m struggling to fully purge the queue.

I tried using:

bash
Copy
Edit
/opt/kumomta/sbin/kcli --endpoint http://127.0.0.1:8000 bounce --everything --reason “purge”
This works initially, but the queue starts filling up again shortly after.

Is there a recommended way to permanently clear the queue and block any further injections from that previous abuse?

Any help is appreciated — thank you!

Use —everything

already, but always the total number of transiently failed messages keep there after every restart

You’re going to need to show your work.

the bounce API only transiently registers a bounce for the --duration specified (default 5 minutes if you didn’t specify one).

If you restart the kumod process, the bounce will go away. Its purpose is as an operator “oh shit” command, and not as a permanent policy.

If you want a permanent policy to reject specific things, you will need to edit your lua code to reflect that policy.

i find out that because of problem in the webhook, thanks anyway guys