https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6560

--- Comment #1 from Karsten Bräckelmann <[email protected]> 2011-03-23 
14:45:02 EDT ---
The problem is in build/mkupdates/listpromotable, starts around line 207, see
the following 20 lines. Also related, bug 5545.

The following few lines of comments fully explain the logic.

    # all of these tflags force publication;
    # include "net", since otherwise this script has to be aware [...]

  # rule was from a file marked with "#testrules" (bug 5545)
  # note: this is after "tflags publish" support, so you can override
  # it on a rule-by-rule basis anyway

Of course, the rules autopromoted unintentionally are net rules.


Suggest the following change in the autopromotion / exclusion logic.

* ONLY tflags publish comes first and can actually override #testrules.
* Then chicken out, if #testrules has been set.
* Last, check for the other tflags as currently done early.

* Go on with the rest of the autopromotion magic...

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to