- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] Procmail
- From: Jamie Wilkinson <jaq@xxxxxxxxxxxxxx>
- Date: Mon, 14 Apr 2003 15:48:15 +1000
- Cc: Jon Biddell <jon@xxxxxxxxx>
- Reply-by: Sat, 15 Mar 2003 13:51:09 +1100
- User-agent: Mutt/1.5.3i
This one time, at band camp, Jeff Waugh wrote:
><quote who="Jon Biddell">
>
>> 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 ?
>
>Well, there is the 'dotfile generator' program, which is meant to support
>fifty billion different dotfiles, but... It sounds like a shell script would
>do you fine to generate a simple procmailrc such as this.
Why not just upload a text file containing spammer addresses and use a
single procmail rule to grep the file for the incoming mail address? Then
you only need to keep the text file updated and you don't need to keep
creating massive procmailrcs.
SPAMMERS=/home/.spammers
SPAM=/home/Maildir/.spambox
# check against my blacklist
:0:
* ? ( formail -x From: -x Sender: -x Reply-To: -x Received: | fgrep -iqf $SPAMMERS)
$SPAM
All this and more from http://spacepants.org/conf/dot.procmailrc
--
jaq@xxxxxxxxxxxxxx http://spacepants.org/jaq.gpg