To display the number of emails in the queue we use the command
exim -bpc
So to remove all messages from the queue, we use the below command.
exim -bp|grep "<"|awk {'print $3'}|xargs exim -Mrm
To display the number of emails in the queue we use the command
exim -bpc
So to remove all messages from the queue, we use the below command.
exim -bp|grep "<"|awk {'print $3'}|xargs exim -Mrm