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

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://administrator.pejcic.rs/cp/working-with-emails-in-cpanel-exim-from-the-terminal/


![node[175421]: pthread_create: Resource temporarily unavailable 2023 08 28 12 15 - node[175421]: pthread_create: Resource temporarily unavailable](https://i0.wp.com/administrator.pejcic.rs/wp-content/uploads/2023/08/2023-08-28_12-15.png?resize=344%2C194&ssl=1)
