http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5721





------- Additional Comments From [EMAIL PROTECTED]  2007-12-11 14:46 -------
funny, there's code to do this already :(

  if ($rules{$rule} && $rules{$rule}->{type} eq 'meta') {
    # ignore meta-subrules that match the rule they make up.
    # TODO: this is simplistic; it doesn't look to see if those subrules
    # are in turn meta rules with further subrules that should be ignored.
    # but it works well enough...

    my $code = $rules{$rule}->{code};
    @rules = grep {
      my $tmp = $_;
      $tmp =~ s/\[.*\]$//;
      $code !~ /\b\Q${tmp}\E\b/;
    } @rules;
  }




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

Reply via email to