Re: Cleaning up after spam forgery

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Piete Brooks
Dátum:  
Címzett: jhenders
CC: Michelle Dick, exim-users
Tárgy: Re: Cleaning up after spam forgery
>> What is the best way to remove all of these from the queue without
>> removing legitimate messages?  Is there a way to remove all these
>> messages (or have them delivered to the now existing :blackhole:
>> alias) in one fell swoop?  Their queue entries look like:
>> 72m 0w36nX-0003rk-00 <> *** frozen ***
>>     loseweight@???
> What I have done to remove a lot of messages is grep the input
> directory, then sed out the -H and pipe the result to exim -Mrm
> i.e. My nukemail script
> #!/bin/sh
> set -x
> # input domain name
> # must be run in exim's input directory
> grep -l $1 * 2>/dev/null  | sed -e 's/-H$//' | xargs exim -Mrm 


If you have the :blackhole: in place, I'd simply have unfrozen them,
and let the :blackhole: do its stuff ...