You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Rudy Gevaert <ru...@ugent.be> on 2009/05/26 10:50:27 UTC

short circuit

Dear list,

I'm trying to get short circuit working:

body LOCAL_SPAM_DEMONSTRATION_RULE   /testrudy/
priority LOCAL_SPAM_DEMONSTRATION_RULE -10000
score LOCAL_SPAM_DEMONSTRATION_RULE 5.5
describe LOCAL_SPAM_DEMONSTRATION_RULE       This is a simple test rule
shortcircuit LOCAL_SPAM_DEMONSTRATION_RULE on
tflags LOCAL_SPAM_DEMONSTRATION_RULE noautolearn

when I run a message trough SA, I see it is running my defined test  
first.  Nice! However it still executes other tests.  I can't find any  
information on how to disable that.  I though it should just do it.   
Maybe am looking in the wrong place.

This is the output of running SA:


Content analysis details:   (4.7 points, 5.0 required)

  pts rule name              description
---- ---------------------- --------------------------------------------------
  5.5 LOCAL_SPAM_DEMONSTRATION_RULE BODY: This is a simple test rule
-1.4 ALL_TRUSTED            Passed through trusted hosts only via SMTP
  0.6 DRUGS_ERECTILE         Refers to an erectile drug

Is my short circuit syntax wrong, or will just not work?

Thanks in advance,

-- 
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert          Rudy.Gevaert@UGent.be          tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur  Direction ICT, Infrastructure dept.
Groep Systemen                     Systems group
Universiteit Gent                  Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie               www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --


Re: short circuit

Posted by Rudy Gevaert <ru...@ugent.be>.
Ok, I found it, the plugin was not loaded...


-- 
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert          Rudy.Gevaert@UGent.be          tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur  Direction ICT, Infrastructure dept.
Groep Systemen                     Systems group
Universiteit Gent                  Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie               www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --