Howto check number of emails in the mail queue:
exim -bpc
To check the email ID, sender and receiver of the each email:
exim -bp | more
![How to Delete 🚮 cPanel Frozen ✉️ Emails image 25 - How to Delete 🚮 cPanel Frozen ✉️ Emails](https://i0.wp.com/pcx3.com/wp-content/uploads/2022/08/image-25.png?resize=435%2C133&ssl=1)
To delete frozen emails from the mail queue, execute:
exim -bp | grep 'frozen' | awk '{print $3}' | xargs exim -Mrm
similarly, to delete emails sent using a script’
exim -bp | grep '<>' | awk '{print $3}' | xargs exim -Mrm
For more useful Exim commands visit https://pcx3.com/cp/working-with-emails-in-cpanel-exim-from-the-terminal/