Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] Procmail


On Sun, 2003-04-13 at 18:03, Jon Biddell wrote:
> Does anyone know of a gui or command line ".procmailrc" generator -
> something that can import a list of spammers from a text file and
> generate the required procmail file for uploading to my ISP ?
> 
> I have a list of some 22Mb in size from - if you'll pardon the
> expression - Outlook, courtesy of another project I'm working on, and
> I'd like to be able to nuke these BEFORE I have to download them.
> 

Where $SPAMMERS is the file which contains the addresses and $SPAM is
the dumping area (/dev/null?)

:0:
* ? (formail -x From: -x Sender: -x Reply-To: -x Received: | fgrep -iqf $SPAMMERS)
$SPAM