Rick Mann <[EMAIL PROTECTED]> writes:

> First, everything goes through Bogofilter (a Bayesian analysis),
> which adds a header to each message indicating if it thinks it's
> spam (Yes/No) and what the spam score was (0.0 - 1.0). I have
> spam/ham cutoff set very low (in bogofilter), so that any false
> positives get challenged.
>
> I'd like to have TMDA say, "well, that spam score is above 0.7, so
> I'm just going to drop that message, but this spam score is below
> 0.7 and above 0.2, so I'm going to challenge it".

You can accomplish this in TMDA with some 'headers' entries.  See
http://tmda.net/filter-sources.html. i.e,

# drop if spam score is > 0.7
headers <regular_expression> drop

# challenge if spam score is < 0.7 && > 0.2
headers <regular_expression> confirm

You need to fill in the <regular_expression> blanks based on the
content of those headers that Bogofilter adds.  If you can't figure it
out, post some examples of these headers, and someone who is good with
regular expressions might be able to help.

Monique's suggestion is a good one though, as it'll likely make the
regex simpler.
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to