Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
mail:exim-management [2016-03-23 19:17:31]
rory.blanchard
mail:exim-management [2018-04-17 18:51:05] (current)
shaun.reitan [Queue Management]
Line 167: Line 167:
 exiqgrep -iz | xargs -P25 exim -Mrm exiqgrep -iz | xargs -P25 exim -Mrm
 </code> </code>
-\\ + 
-\\+One disadvantage of using exiqgrep and xargs is that it will not start removing messages until exiqgrep prints out it's results. One solution to this the following. The disadvantage to this method is that you will be removing ALL of the email in your queue. 
 + 
 +<code console> 
 +cd /var/spool/exim/msglog 
 +find . -type f -exec sh -c 'exim -Mrm `echo "${0##*/}"`' {} \
 +</code>