commands.sh

exiqgrep

linux

Perl script offering possibilities to `grep` in the Exim queue output.

More info →

Examples (6)

Match the sender address using a case-insensitive search

Match the sender address and display message IDs only

Match the [r]ecipient address

Remove all messages matching the sender address from the queue

exiqgrep -i -f '<[email protected]>' | xargs exim -Mrm

Test for bounced messages

exiqgrep -f '^<>$'

Display the [c]ount of bounced messages

exiqgrep -c -f '^<>$'
made by @shridhargupta | data from tldr-pages