hi theo,

Oops.  Looks like r149227 renamed DefaultAutoLearnDiscriminator to
AutoLearnThreshold, but the references weren't completely changed.

<grumble> ;-P

I fixed any references I found in r180182. :)

ok, w/ SA r180182,

init.pre
   ...
+++ loadplugin Mail::SpamAssassin::Plugin::AutoLearnThreshold
   ...

& local.cf
   ...
   ifplugin Mail::SpamAssassin::Plugin::AutoLearnThreshold
   bayes_auto_learn_threshold_nonspam      0.1
   bayes_auto_learn_threshold_spam         12.0
   endif # Mail::SpamAssassin::Plugin::AutoLearnThreshold
   ...

then,

% spamassassin -D < /usr/ports/spamassassin/sample-nonspam.txt

   ...
   [19580] dbg: plugin: loading Mail::SpamAssassin::Plugin::AutoLearnThreshold
   from @INC
   [19580] dbg: plugin: registered
   Mail::SpamAssassin::Plugin::AutoLearnThreshold=HASH(0x1ed02dc)
   ...
   [19580] dbg: plugin:
   Mail::SpamAssassin::Plugin::AutoLearnThreshold=HASH(0x1ed02dc) implements
   'autolearn_discriminator'
   [19580] dbg: learn: auto-learn: currently using scoreset 3, recomputing
   score based on scoreset 1
   [19580] dbg: learn: auto-learn: message score: -2.83, computed score for
   autolearn: 1.37
   [19580] dbg: learn: auto-learn? ham=0.1, spam=12, body-points=1.37,
   head-points=1.37, learned-points=-5
   [19580] dbg: learn: auto-learn? no: inside auto-learn thresholds, not
   considered ham or spam
   ...

which is what i'd hoped to see. yay!

on to DomainKeys ...

thx!

richard

Reply via email to