الجمعة، 28 مايو 2010

Deleting Frozen Mails

To remove all frozen mails from the exim queue, use the following command -
exim -bpr | grep frozen | awk {'print $3'} | xargs exim -Mrm

You can also use the command -
exiqgrep -z -i | xargs exim -Mrm

If you want to only delete frozen messages older than a day, you can try this -
exiqgrep -zi -o 86400

where you can change 86400 depending on the time frame you want to keep.( 1 day = 86400 seconds. ) ;-)

ليست هناك تعليقات:

إرسال تعليق