exiqgrep
Perl script offering possibilities to grep in the Exim queue output. tldr-pages
On Linux
Linux
Match the sender address using a case-insensitive search
exiqgrep -f '<email@example.com>'IdentifyMatch the sender address and display message IDs only
exiqgrep -i -f '<email@example.com>'IdentifyMatch the recipient address
exiqgrep -r 'email@example.com'IdentifyRemove all messages matching the sender address from the queue
exiqgrep -i -f '<email@example.com>' | xargs exim -MrmIdentifyTest for bounced messages
exiqgrep -f '^<>$'IdentifyDisplay the count of bounced messages
exiqgrep -c -f '^<>$'Identify