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

            Bug ID: 7032
           Summary: Disable awl when some other rule hit
           Product: Spamassassin
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Plugins
          Assignee: [email protected]
          Reporter: [email protected]

I would like to have awl completely disabled when some other rule hit so that
the awl working against sysadmin could be disabled.

To that purpose i've implemented the attached patch that allows that if a
specific rule hits, awl gets disabled. It doesn't compute the average and add
it to it's database. The only thing that is required is that the rule has score
 != 0 and the tflag stating "noawl".

With the attached patch and the following example, i can make sure awl is
disabled:

# Rule to disable awl
header  AWL_OFF  From =~ /me\@home\.com/i
tflags  AWL_OFF  noawl
score   AWL_OFF  0.001

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to