SA Bugzilla – Bug 5468
shortcircuit always has autolearn=disabled on spam messages
Last modified: 2007-08-02 05:23:36 UTC
Regardless of how tflags is set to a shortcircuit rule, the autolearn never learns a message as spam. See attached for configuration and log line sample.
Created attachment 3947 [details] Sample shortcircuit configuration and log line from the resulting config.
I'd have to look to be 100% sure but I believe this is expected behavior. Because not all of the rules ran it is not possible to determine if a message should be autolearned or not, so autolearning is disabled.
http://spamassassin.apache.org/full/3.2.x/doc/Mail_SpamAssassin_Plugin_Shortcircuit.html ...the documentation is a little vague on this. Setting shortcircuit to spam assumes tflags noautolearn, but I want to learn these messages as spam. This is why my config is only setting shortcircuit to on, and tflags to net.
Yep, it gets disabled. Bug 5256. I agree that the documentation seems a little confusing, but checking the code confirms that whenever a shortcircuit rule hits auto learning is turned off.