exiqgrep
Perl script offering possibilities to grep in the Exim queue output. More information: <https://www.exim.org/exim-html-current/doc/html/spec_html/ch-exim_utilities.html>.
Install
- All systems
-
curl cmd.cat/exiqgrep.sh
- Debian
-
apt-get install exim4-base
- Ubuntu
-
apt-get install exim4-base
- Alpine
-
apk add exim
- Arch Linux
-
pacman -S exim
- Kali Linux
-
apt-get install exim4-base
- Fedora
-
dnf install exim
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install exim4-base
- OS X
-
brew install exim
- Raspbian
-
apt-get install exim4-base
- Dockerfile
- dockerfile.run/exiqgrep
- Docker
-
docker run cmd.cat/exiqgrep exiqgrep
powered by Commando
Perl script offering possibilities to grep in the Exim queue output. More information: <https://www.exim.org/exim-html-current/doc/html/spec_html/ch-exim_utilities.html>.
-
Match the sender address using a case-insensitive search:
exiqgrep -f '<[email protected]>'
-
Match the sender address and display message IDs only:
exiqgrep -i -f '<[email protected]>'
-
Match the recipient address:
exiqgrep -r '[email protected]'
-
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 count of bounced messages:
exiqgrep -c -f '^<>$'
© tl;dr; authors and contributors