On 5/25/2014 1:12 AM, Ian Zimmerman wrote:
So, now I am really confused. I think I did everything right in
user_prefs:
bayes_auto_learn 1
bayes_auto_learn_threshold_nonspam -2.00
bayes_auto_learn_threshold_spam 6.00
bayes_auto_learn_on_error 0
[snip]
tflags URIBL_DBL_SPAM autolearn_force
tflags URIBL_JP_SURBL autolearn_force
tflags URIBL_BLACK autolearn_force
tflags INVALID_DATE autolearn_force
Nonetheless:
X-Spam-Score: 6.9
X-Spam-Tests: BAYES_99=3.5,BAYES_999=0.2,HTML_FONT_LOW_CONTRAST=0.001,
HTML_MESSAGE=0.001,MIME_HTML_ONLY=0.723,RDNS_NONE=0.793,SPF_PASS=-0.001,
T_REMOTE_IMAGE=0.01,URIBL_BLACK=1.7
X-Spam-Autolearn: no autolearn_force=no
And here's a case where it doesn't autolearn ham (same user_prefs as above):
X-Spam-Status: No
X-Spam-Level:
X-Spam-Score: -2.7
X-Spam-Tests: BAYES_00=-1.9,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,
FREEMAIL_FORGED_FROMDOMAIN=0.001,FREEMAIL_FROM=0.001,
HEADER_FROM_DIFFERENT_DOMAINS=0.001,HTML_MESSAGE=0.001,RCVD_IN_DNSWL_LOW=-0.7,
RCVD_IN_MSPIKE_H2=-0.001,SPF_PASS=-0.001
X-Spam-Autolearn: no autolearn_force=no
The documentation certainly doesn't say anything like the 3/3 and force
mechanism is in place for ham. So this _should_ autolearn. Right? Right??
Hi Ian,
Perhaps a bug. Hard to say from this little output.
Please turn on -D and pastebin the output. If you also want to pastebin
the email, I'll look at it.
But if not, these are the current debug's I'll be looking for:
dbg("learn: auto-learn: autolearn_force flagged for a rule.
Removing seperate body and head point threshold. Body Only Points:
$body_only_points ($required_body_points req'd) / Head Only Points:
$head_only_points ($required_head_points req'd)");
dbg("learn: auto-learn: autolearn_force flagged because of
rule(s): $force_autolearn_names");
} else {
dbg("learn: auto-learn: autolearn_force not flagged for a rule.
Body Only Points: $body_only_points ($required_body_points req'd) / Head
Only Points: $head_only_points ($required_head_points req'd)");
}
Regards,
KAM