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

Command to delete mails for a particular user

In order to delete all undelivered/queued mails for a given user( abc@xyz.com This e-mail address is being protected from spambots. You need JavaScript enabled to view it ), execute the following command:


cd /var/spool/exim/input; grep -lir abc\@xyz\.com * | xargs rm -fv


That's all :-)

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

إرسال تعليق