Be very careful with a procmail recipe, and the answer is yes.

#start by deleting the highest spamtag value
:0
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
/dev/null

#flag everything else, but deliver it (this happens without any rules)
#to deliver 5.0-19.9 to a special spam folder
SPAMFOLDER=$HOME/mail/spam
:0
* ^X-Spam-Level: \*\*\*\*\*
$SPAMFOLDER

#now everything thats left goes to the inbox
#but negative numbers to 4.9 still get tagged

The way the above recipe works is that spam caught by the first rule
will never get to the second, third, etc.  If something does get by
the first rule, that means it has a spam-level less than 20.  Any level
higher is deleted.  The 2nd spam-level rule matches any message flagged
with a level of 5 or higher, but since 20 and higher is already gone,
you are left with 5-19.9.  Anything less than 5 falls out the bottom of
the recipe and goes into the normal delivery location.

Dan Liston


Ed Benckert wrote:
I'm pretty sure I've seen it before, but cannot for the life of me find it now... can spamassassin tag an email as spam if it's over a certain threshold, but under another, and if its over that threshold, just nuke it as obvious spam?

Like if it's 0-4.9 it's ok.
5-19.9 it's Spam, but delivered
20+ it's so obviously spam junkmail that we delete it.

How is this configured?



-------------------------------------------------------
This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk



-------------------------------------------------------
This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to