Clearing the Exim Queue

When I need to clear out an Exim MTA mail queue entirely I use this command:

# exim -Mrm $(mailq | awk '{print $3}') 


This entry was posted in CLI HOWTOs, HOWTOs. Bookmark the permalink.