Hi,

On Fri, December 11, 2009 10:17, Janos SUTO wrote:
> Hello,
>
> Christoph Wilke wrote:
>>
>> Hi,
>>
>> if auto_whitelist is anabled, and the sender has sent enough good stuff,
>> to fulfill it, bayes_file() will set the spamicity result to
>> REAL_HAM_TOKEN_PROBABILITY, which is 0.0001 per default.
>>
>> Would it be possible to let the result be 0 and an extra header like
>> "SPAMINESS_HEADER_FIELD statistically whitelisted" to be added?
>
> Yes. I have updated the nightly build, and it adds an extra header line
> if the message is statistically whitelisted:
>
> '$clapf_header_field: statistically whitelisted'

Great, thank you!

>
> Why do you want to have the spamicity set to 0.0?

well I don't have a good reason for it except gut feeling.
For me it's more clearly to set the probability to exact 0
or exact 1 if it's not a result of any statistical test (OK
in fact this whitelisting is the result of statistics, but anyway).

>
>> I'm not pretty sure on how to implement this, if it's possible to
>> hand a reasonable value (except a probability) back from bayes_file()
>> or if the statistically whitelisted senders could be added into
>> the database?
>
> Well, they are already in the database. clapf extracts the whole From:
> header line, just as it is, and creates a hash value which is stored in
> the database.

In which table is it? The normal whitelist table is empty, as I don't
have added anything by hand.

>
> If you run spamdrop in debug mode (-D) then it prints out the occurences
> of the sender in the database.

Yes, I've seen.

Regards
Christoph Wilke

Reply via email to