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: [email protected]
ReportedBy: [EMAIL PROTECTED]
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.