https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7577

            Bug ID: 7577
           Summary: FreeMail.pm is keeping hits between different messages
           Product: Spamassassin
           Version: 3.4 SVN branch
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Plugins
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: Undefined

Thanks to Paul Murphy for helping tracking this down.

The per-msg-status description for the rule is not being cleared between runs:

FreeMail.pm:

    if ($pms->{main}->{conf}->{freemail_add_describe_email}) {

        $email =~ s/\@/[at]/g;

        $pms->got_hit($rulename, "", description => $desc." ($email)", ruletype
=> 'eval');

    }

The new hits are appended to the old ones, which is fine in the same
invocation, but when the SA process is persistent and handles multiple
messages, something needs to reset the state in PMS once the message is fully
processed.  It seems that the dynamic rule descriptions are persisting.

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

Reply via email to