Hi Rajesh, I believe that the ShortCircuit feature is what you want which along with the priority level helps controls the order of rules.
https://spamassassin.apache.org/full/3.4.x/doc/Mail_SpamAssassin_Plugin_Shortcircuit.html Beyond that, the order they run is complicated depending on the type of rules and I'm not sure there is a good, documented answer for it. Will have to defer to another person on that but that ShortCircuit might be enough to serve your purpose. Regards, KAM On 9/5/2020 8:24 AM, Rajesh M wrote: > dear friends, > > had a few questions > > 1) what is the sequence based on which the rules are processed ? > is there any documentation on this ? > how is the rule number example 20_dnsbl_tests.cf or 25_uribl.cf related to > the sequence of rule processing ? > > 2) is there a way by which if a specific rule is triggered i can stop all > further processing. > basically we plan to implement certain rules related to specific body or > header content which we are sure is spam and do not wish to process any > further and these will be placed in the local.cf file at the beginning > > thanks and regards > rajesh > > -- Kevin A. McGrail kmcgr...@apache.org Member, Apache Software Foundation Chair Emeritus Apache SpamAssassin Project https://www.linkedin.com/in/kmcgrail - 703.798.0171