How to show WHM mail queue in SSH

This is the command you paste in to your SSH Window to display the WHM Mail Queue, this will spit it out in a list and show domains, makes it a lot easier to track spam / offending domains.
exim -bp | exiqsumm

How to clear WHM Send Mail Queue via SSH – Clear email queue

How to clear WHM Send Mail Queue via SSH – Clear email queue

/usr/sbin/exiqgrep -i -o XXXXXX | xargs /usr/sbin/exim -Mrm

 

Thanks