ay Lee wrote:

Richard Duran wrote:

Hello,

I'm not sure if this belongs in the dev-list or not, but we have made
some minor changes to SA in order for us to allow our users to create
separate filters for mail that we consider to be "almost certainly"
spam, versus mail that is "probably" spam.
Just filter based on X-Spam-Level headers. If 8 is certainly spam then have your server side filter or client filter look for 8 *s, then look for 5 *s for probably spam. Very simple, no code changes needed.

Jay

this is the way I've been doing it in procmail - then I don't have to count *'s
# -----------------------------------------------
# Spamassassin - certainly spam
# -----------------------------------------------
:0 H:
* ^X-Spam-Status: +(yes|no), +score=\/[^. ]*
* ? (( ${MATCH} > 14 ))
/dev/null

# -----------------------------------------------
# Spamassassin - probably spam
# -----------------------------------------------
:0 H:
* ^X-Spam-Status: Yes.*
\;Junk/new

hmm after pasting that in I wonder if there is any chance that the catches large No scores also?


Reply via email to