On 19/12/2009 3:20 PM, Alban Deniz wrote: > I would like to know if there's a way to report dynamic scores in > SpamAssassin 3.1.7. I haven't been able to find info for this on the FAQ > or on the FrontPage.
If I recall correctly the only way to do it is to access the score hash of the $permsgstatus object directly. - in the rule definition assign any score (or don't) as long as you don't assign it zero the rule will run - during message processing modify the score hash directly for that rule... you might have to do this really late (in one of the last plugin calls)... I seem to remember the score not sticking if you did it too early Your best bet is to take a look at the AWL plugin. It assigns socres dynamically just as you'd like to do. The code in that plugin will work for you. Daryl
