Link Search Menu Expand Document


Perl script offering possibilities to grep in the Exim queue output. More information:

  • Match the sender address using a case-insensitive search:

exiqgrep -f '<{{}}>'

  • Match the sender address and display message IDs only:

exiqgrep -i -f '<{{}}>'

  • Match the recipient address:

exiqgrep -r '{{}}'

  • Remove all messages matching the sender address from the queue:

exiqgrep -i -f '<{{}}>' | xargs exim -Mrm

  • Test for bounced messages:

exiqgrep -f '^<>$'

  • Display the count of bounced messages:

exiqgrep -c -f '^<>$'