[plug] Spam Attack

Jeremy Malcolm Jeremy at Malcolm.wattle.id.au
Mon Jul 2 20:07:50 WST 2001


> if there are too many messages to do by hand, you might want to do it in
> reverse. ie identify the good messages and move them out of the way and
> delete the rest. either that, or write a script to automate it...

Don't know if you can modify the script I hacked to do that job with
exim:

#!/bin/sh
cd /var/spool/exim/input
exim -Mrm `grep -i -l $1 * | awk '{ print substr($0,1,16) }'`

Takes any single email address or word as an argument and deletes all
occurences from the queue.

--
JEREMY MALCOLM <Jeremy at Malcolm.wattle.id.au> http://malcolm.wattle.id.au
Providing online networks of Australian lawyers (http://www.ilaw.com.au)
and Linux experts (http://www.linuxconsultants.com.au) for instant help!
Disclaimer: http://www.terminus.net.au/disclaimer.html. GPG key: finger.



More information about the plug mailing list