Re: [Exim] Re: Gettinmg Rid of Input Files

Góra strony
Delete this message
Reply to this message
Autor: Dave C.
Data:  
Dla: Suresh Ramasubramanian
CC: exim-users
Temat: Re: [Exim] Re: Gettinmg Rid of Input Files
Actually, why wait to receive them to get rid of them? If you've found
some common identifying pattern, either use host blocks to prevent their
reception, or the system filter to throw them away as they come in...


On Mon, 11 Feb 2002, Suresh Ramasubramanian wrote:

> +++ 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

>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>


--