[Exim] Re: Gettinmg Rid of Input Files

Top Page
Delete this message
Reply to this message
Author: Suresh Ramasubramanian
Date:  
To: exim-users
Subject: [Exim] Re: Gettinmg Rid of Input Files
+++ Martin Cameron [exim-users] <11/02/02 20:58 -1200>:
> returns.groups.yahoo.com
> niwa
> NIWA


for i in `cat banned.txt`
do
exim -Mrm `mailq|grep $i|cut -c 11-27`
done

> system("rm file -f");


Please don't use rm to remove mail from a live queue - exim -Mrm uses the
same locking process ... if you do it in sendmail use qtool.pl

    -srs