Re: procmail recipe not working
On Fri, 7 Dec 2001, Christopher S. Swingley wrote:
> > I've been thinking of making a similar thing, just so I can list each
> > spammer on one line instead of 4.
>
> FYI, if you do something like this in your procmail recipe file:
>
> SPAM=SPAM
> SPAMMERS=$HOME/procmail/spammers
>
> # Anti-spam
> :0:
> * ? (formail -x From: -x Sender: -x Reply-To: -x Received: -x
> Subject: | fgrep - iqf $SPAMMERS) .
> $SPAM /|\
> |
> (the * ? (formail ... ) thing is all on one line) ----+
>
> Then you can put things like this into $HOME/procmail/spammers:
>
> End your IRS tax problems!
> o325eb@msn.com
>
> I got this from someone on this list sometime in the past, so they
> deserve the credit for this. Works great from here!
>
> Chris
>
Be aware of the typo in the rule above, it shouldn't be a space between
the '-' and the options 'iqf', should be 'fgrep -iqf'.
Correct me if I'm wrong
BTW works great for me as well!
--
GnuPG v1.0.6 Fingerprint = 67E6 1D18 B2C4 4F8A 3DA3 5C6D 849F 9F5F 26FA 477D
Institute of Theoretical Astrophysics
www.astro.uio.no
Reply to: