You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2007/05/14 21:13:18 UTC

[Bug 5463] New: enhance got_hit API for dynamic scores&descriptions

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

           Summary: enhance got_hit API for dynamic scores&descriptions
           Product: Spamassassin
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Plugins
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: info@mschuette.name


Some plugins want to display a) a dynamic score and b) a dynamic description in
the tags _DISPLAY_, _REPORT_, and _TESTSSCORES_.

This is currently accomplished by direct access to data fields and/or calling
_handle_hit() instead of got_hit() as it is/was described for some time in
http://wiki.apache.org/spamassassin/PluginWritingTips

I suggest a small extension of PerMsgStatus::got_hit() to provide a stable API
for this.

The appended patch does that by writing the score into Conf->{scoreset} and by
introducing an optional description parameter.



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

[Bug 5463] enhance got_hit API for dynamic scores&descriptions

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5463





------- Additional Comments From info@mschuette.name  2007-05-14 12:16 -------
Created an attachment (id=3946)
 --> (http://issues.apache.org/SpamAssassin/attachment.cgi?id=3946&action=view)
Patch against SA 3.2.0 to extend the got_hit API




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