queue

Clearing Exim mail queue from all emails

Here is a little command, if you have loads of emails stuck in exim queue and you want to delete ALL the emails, here is a little command to do that


mailq |awk '{print "exim -Mrm " $3}'|sh

Be careful when using it, like I said, it will delete all emails waiting to be delivered by exim viagra bestellen rezeptfrei.

I used it to clear a queue from loads of spam and viruses after a machine got infected and sent 160k emails in 2hours 🙁