You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "McDonald, Dan" <Da...@austinenergy.com> on 2009/06/03 14:43:45 UTC

Re: generate message with a specific score

On Mon, 2009-05-25 at 23:12 +0200, Rudy Gevaert wrote:
> Hi Matus,
> 
> On Mon, May 25, 2009 at 10:48:25PM +0200, Matus UHLAR - fantomas wrote:
> > On 25.05.09 17:12, Rudy Gevaert wrote:
> > > Is it possible to generate a rule that when it applies gives the message 
> > > that specific score? If so, how do I do it?
> > 
> > every rule gives a specific score when it applies... What do you mean?
> > do you need the whole message to have specific score? If so, why?
> 
> To test the different levels in Amavis.  Amavis uses the score provided
> by SA, so I need to set the score to a specific number to test it...
> 

Didn't see a reply to this, so:

body		CHECKING_123	m#///A TEST OF SCORE 1\.23///#
score		CHECKING_123	1.23
priority	CHECKING_123	-100000
shortcircuit	CHECKING_123	on

You can then flag that particular message to score 1.23 by including the
text ///A TEST OF SCORE 1.23/// in your message.

Make certain you have the shortcircuit plugin enabled, and rinse/repeat
as necessary.

-- 
Daniel J McDonald, CCIE # 2495, CISSP # 78281, CNX
www.austinenergy.com