Clayton Keller wrote:
After looking through old list posts and the Wiki, I was under the impression that I could enable autolearning by setting a tflags value for the shortcircuited rule.

For instance:

priority    TEST    -500
describe    TEST    My Test
shortcircuit    TEST    spam
score        TEST    100
tflags        TEST    learn

The shortcircuits are setup in a .cf file within /etc/mail/spamassassin/

Other than the ability to learn as spam/ham, from the logs the shortcircuit is working as expected. The log indicates autolearn=disabled.

Autolearning is disabled when you shortcircuit. By design.

If you want to get out fast, there's not enough time to do a bayes evaluation, and the autolearner needs that before it can make a decision.

Besides, this also protects you against a shortcircuit rule being misdesigned and poisoning your whole bayes DB with lots of mislearned spam. (this is also why USER_IN_WHITELIST isn't considered by the learner.)

Reply via email to