I’ve been getting alot of frozen messages with Exim and needed to find out what they were so figured I’d document a few handy commands for doing so:
List messages in queue:
1 | exim -bp |
Show message header/body:
1 2 | exim -Mvh <id> #For header exim -Mvb <id> #For body |
Delete all messages in queue:
1 | exim -bp | exiqgrep -i | xargs exim -Mrm |