Lists the messages that are in the queue right now — with filtering.
The call is GET /listqueue?format=json&queue=domain/address. Either half of the pair can be a star. Optional parameters narrow the selection: jobid — the job, envid — the envelope identifier, rcpt — the recipient, orig — the sender.
It answers a question no counter will: where a specific message is and what is still waiting to be sent to a specific person. queue=*/* with rcpt searches for a recipient across the whole node.
Access is decided by http-access based on the address the request came from — the monitor level is enough for reading. The key from http-api-key in the X-API-Key header grants full access from any address.
What to ask this endpoint:
| Question | This one or not |
|---|---|
| where a specific message is | yes — the rcpt or orig filter |
| what is still waiting for one campaign | yes — the jobid filter |
| how many messages are in the queue | no — /queues |
| what happened yesterday | no — that is accounting |
# all messages to one recipient across the whole node curl -s 'http://127.0.0.1:8080/listqueue?format=json&queue=*/*&rcpt=user@example.com'curl -s 'http://127.0.0.1:8080/listqueue?format=json&queue=gmail.com/vmta1&jobid=12'
2 relations
curl -s 'http://127.0.0.1:8080/listqueue?format=json&queue=*/*&rcpt=user@example.com' | head -40 pmta list --rcpt=user@example.com
3 articles
◇What the node tells about itself and through which channelsSeven observation surfaces: the web monitor, the console in four formats, the log, accounting, accounting search, metrics and export to external analytics.◇A license for a fleet, not for a serverThe license is not bound to a server: it is installed on as many machines as the instance limit allows, and the nodes send volume statistics to the vendor every hour.◇The watchdog that restarts the engineKeeps an eye on the engine and brings it back up after a crash by itself, sending a crash report to the postmaster address.