Kosmaj wrote: > Forgive me for spamming the list, but I just realized > that if I just score -10 to long messages, SP will keep on > applying other rules, and it will take long time again. > Therefore, what I need is a rule which will score -10 points > and tell SP to stop processing of all other rules.
Rather than using a rule for this, spamc has a built-in feature to bypass scanning of large messages. It defaults to 250k, but you can change it with the -s parameter to spamc. If you're interested in speed, you probably should be using the spamc/spamd pair instead of the "spamassassin" script to invoke SpamAssassin anyway.