-
-
Save ai2ik/322bef5f3c78e5c4b44c172ad3dc92df to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get queue count | |
exim -bpc | |
# Display messages | |
exim -bp | |
# Display message headers | |
exim -Mvh <message-id> | |
# Display message body | |
exim -Mvb <message-id> | |
# Delete all messages in queue by domain | |
exim -bp|grep "<domain>"| awk {'print $3'}| xargs exim -Mrm | |
or | |
exim -bp| awk /domain/{'print $3'}| xargs exim -Mrm | |
# Delete all messages in queue | |
exim -bp | exiqgrep -i | xargs exim -Mrm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment