Jim C. Nasby wrote: > > The hashcash scores don't seem to be triggering learning for me, for > some reason...
They generally won't. Three things must happen for hashcash to fire: 1) you need a loadplugin Mail::SpamAssassin::Plugin::Hashcash command in your init.pre 2) you need a hashcash_accept command with the recipient address in your config files. 3) the sender needs to generate a hashcash hash when sending the message. It sounds like you've done 1, but you probably haven't done 2. > > X-Spam-Status: No, score=-5.0 required=5.0 tests=AWL,BAYES_00, > > FORGED_RCVD_HELO,HASHCASH_HIGH autolearn=no version=3.1.0 > > grep threshold .spamassassin/user_prefs|grep -v # > bayes_auto_learn_threshold_spam 5.0 > bayes_auto_learn_threshold_nonspam 0.0 > > Or is that because of the AWL rule? Hmm, well, you have to ignore the AWL and BAYES scores when figuring out the autolearner.. So you have FORGED_RCVD_HELO and HASHCASH_HIGH.. That would leave a score of -4.865, which confused me for a bit... However, looking in the config files, HASHCASH rules have the userconf flag. This means that the Autolearner will also ignore these rules too, as SA will treat it as a user configured whitelist. So, this message had an autolearner score of +0.135 from the FORGED_RCVD_HELO.