Can someone give him some guidance please? I'd like to support him improving the plugin and I'm a bit busy with the RC for 3.4.1 and the SA report.

-------- Forwarded Message --------
Subject:        Rule priority
Date:   Wed, 10 Sep 2014 11:06:01 -0600
From:   Philip Prindeville <[email protected]>
To:     SpamAssassin <[email protected]>



Is there a good discussion on how rule priority works, and short-circuited 
evaluation, etc?

I must be looking in the wrong places because I can’t find much.  I found 
register_method_priority() in ::Plugin but I wasn’t sure if that’s all there 
is… It only seems to be called in Plugin::Reuse::new() (well, you’d expect it 
in the constructor).

Looking in the rules themselves, also, there aren’t that many rules which have 
an explicitly configured priority.

I ask because I’m trying to address this comment:

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=7060#c10

but the source base doesn’t really contain a lot of useful examples.

Thanks,

-Philip



Reply via email to