Intermediate Package: exim4

exim -bp

List the current Exim mail queue.

Syntax

exim -bp

Description

Running Exim with the -bp flag prints every message currently sitting in the queue, including its age, size, unique message ID and recipient, plus a note of any delivery errors (frozen messages are flagged separately).

Examples

exim -bp
Show the full queue
exim -bpc
Print just a count of queued messages
exim -bp | exiqsumm
Pipe the queue listing into a per-domain summary
Command is identical across Debian/Ubuntu (exim4 package) and RHEL-based (exim package) systems.

Applies to

Alpine Linux Universal / POSIX

Put it into practice

Learn this in context