Advanced
Package: exim4
exiqgrep
Filter the Exim queue by sender, recipient or age.
Syntax
exiqgrep [options] [pattern]
Description
exiqgrep searches the Exim queue and prints matching message IDs, which can then be piped into exim -M, exim -Mrm or similar for bulk delivery, removal or inspection.
Examples
exiqgrep -f user@example.com
Find queued messages from a given sender
exiqgrep -r baddomain.com
Find queued messages to a given recipient domain
exiqgrep -o 3600
Find messages older than one hour (3600 seconds)