Saturday, May 29, 2010

Commands for Remove the Mail queues in Exim

Commands for remove frozen mail queues in Exim

exiqgrep -i -f | xargs exim -Mrm
exim -bp | grep "frozen" | awk {'print$3'} | xargs exim -Mrm
exim -bp | grep "<>" | awk {'print$3'} | xargs exim -Mrm
exim -bp | grep "nobody" | awk {'print$3'} | xargs exim -Mrm
exim -bp | grep "bounce" | awk {'print$3'} | xargs exim -Mrm

exiqgrep -i -f | xargs exim -Mrm
exim -bp | grep "frozen" | awk {'print$3'} | xargs exim -Mrm
exim -bp | grep "<>" | awk {'print$3'} | xargs exim -Mrm
exim -bp | grep "nobody" | awk {'print$3'} | xargs exim -Mrm
exim -bp | grep "bounce" | awk {'print$3'} | xargs exim -Mrm

No comments:

Post a Comment