[Exim] Re: Gettinmg Rid of Input Files

Pàgina inicial
Delete this message
Reply to this message
Autor: Suresh Ramasubramanian
Data:  
A: exim-users
Assumpte: [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