You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Craig Mayers <sa...@5dollarhosting.com> on 2004/07/09 20:14:20 UTC
Discarding spam based on score range
Hi all, I am de-lurking to ask a question that has probably been asked
before (forgive me).
Is there a procmail recipe that can be crafted to forward any mail with a
spam score above a certain threshold to /dev/null (or elsewhere)? For
example, anything over 15 is not likely to be an FP for us. Would procmail
be able to read the spam score header that gets added when SA runs and make
a determination based on it? If so, what syntax would we use?
If this exists on the Wiki site, or elsewhere, I'd appreciate a point in the
right direction. Thanks in advance, this is a great group. I'm only sorry
I didn't discover it earlier, I'm sure our initial implementation would have
gone much smoother! 8-)
Thanks!
Craig Mayers
5DollarHosting.com
Re: Discarding spam based on score range
Posted by Tim Litwiller <ti...@litwiller.net>.
put this in you /etc/mail/spamassassin/local.cf
add_header all Level _STARS(*)_
then put this in your procmail
# Delete Blatant Spam
:0 H:
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*.*
/dev/null
Craig Mayers wrote:
>Hi all, I am de-lurking to ask a question that has probably been asked
>before (forgive me).
>
>Is there a procmail recipe that can be crafted to forward any mail with a
>spam score above a certain threshold to /dev/null (or elsewhere)? For
>example, anything over 15 is not likely to be an FP for us. Would procmail
>be able to read the spam score header that gets added when SA runs and make
>a determination based on it? If so, what syntax would we use?
>
>If this exists on the Wiki site, or elsewhere, I'd appreciate a point in the
>right direction. Thanks in advance, this is a great group. I'm only sorry
>I didn't discover it earlier, I'm sure our initial implementation would have
>gone much smoother! 8-)
>
>Thanks!
>
>Craig Mayers
>5DollarHosting.com
>
>
>
>
Re: Discarding spam based on score range
Posted by John Fleming <jo...@wa9als.com>.
This receipe should delete only those scoring 8 or higher in procmail:
:0
* ^X-Spam-Level: \*\*\*\*\*\*\*\*
/dev/nullFrom:
http://www.exit0.us/index.php/So%20you%20want%20to%20'delete'%20all%20your%2
0spam!----- Original Message -----
From: "Craig Mayers" <sa...@5dollarhosting.com>
To: <sp...@incubator.apache.org>
Sent: Friday, July 09, 2004 2:14 PM
Subject: Discarding spam based on score range
> Hi all, I am de-lurking to ask a question that has probably been asked
> before (forgive me).
>
> Is there a procmail recipe that can be crafted to forward any mail with a
> spam score above a certain threshold to /dev/null (or elsewhere)? For
> example, anything over 15 is not likely to be an FP for us. Would
procmail
> be able to read the spam score header that gets added when SA runs and
make
> a determination based on it? If so, what syntax would we use?
>
> If this exists on the Wiki site, or elsewhere, I'd appreciate a point in
the
> right direction. Thanks in advance, this is a great group. I'm only
sorry
> I didn't discover it earlier, I'm sure our initial implementation would
have
> gone much smoother! 8-)
>
> Thanks!
>
> Craig Mayers
> 5DollarHosting.com
>
>