List all messages currently in the Exim mail queue
Build a paste-ready command, then review its compatibility and effects before running it.
read-onlyno known side effects Compatibility
LinuxVerified for Linux using posix, bash, zsh syntax.
Operational knowledgereview due 2027-01-19
Requirementseximexim must be installed and available on PATH.
Version supportexim Current supported releasesVerified for linux using posix, bash, zsh syntax; consult compatibility notes for platform-specific differences.
Expected signals3d 1.8K 1tC7Kg-0003Yp-NC <ops@example.com>Representative successful output; values vary with the selected target and system state.
Known errorsexim: command not foundexim is missing or is not available on PATH.
Verifyexim -bpThe output matches the expected target and exits without an error.Rollback noteNot required: this command is read-only and does not change system state.
Command breakdown
01eximExim executableStarts the command-line interface for the Exim mail transfer agent.
02bAdministrative mode familyIntroduces one of Exim’s -b… action modes instead of accepting a new message for delivery.
03pPrint the queueCompletes -bp and requests a listing of messages currently waiting in the mail queue.
Exim parses -bp as one combined option. The b and p components are separated here only to explain the mnemonic.
Example output
3d 1.8K 1tC7Kg-0003Yp-NC <ops@example.com>
alerts@example.net
18m 892 1tF2Ba-0007Qm-1J <>
admin@example.com
Illustrative output — exact values vary by system and data.
Runbooks
Official sources
Related commands