|Main Archive Page > Month Archives > spamassassin-users archives|
On 21/10/2010 2:17 PM, Karsten BrÃ¤ckelmann wrote:
> On Thu, 2010-10-21 at 18:39 +0200, Karsten BrÃ¤ckelmann wrote:
>> See M::SA::Plugin::AutoLearnThreshold. In a nutshell, (a) there are a
>> few tflags that will prevent a rule's score to be used for auto-learning
>> and (b) the score used is picked from the respective non-bayes
>> With (a) you can make a rule invisible to the auto-learning decision.
>> And by setting the scores for score-set 0 and 1 both to 0 as per (b),
>> you can effectively disable a rule unless Bayes is enabled.
> ... *and* have that rule "ignored" for the auto-learning decision, if
> Bayes and auto-learn is enabled. (Actually not ignored, but adding zero
> doesn't influence the result. ;)
> The tflags way is much more straight forward, though.
>> You cannot, however, create a rule to conditionally prevent auto-
>> learning altogether (which, as I understand isn't what you had in mind
Thanks everyone, I have set the rule to noautolearn using the tflags
directive (this is what I wanted, for the rule to simply not be
considered when auto-learning).