On Fri, 2009-05-15 at 09:46 -0700, John Hardin wrote:
> On Fri, 15 May 2009, Jeremy Morton wrote:
> 
> > Yes.  All I could find was stuff about creating your own rules, not 
> > actually 
> > changing the weightings of existing rules.

> Well, I guess the docs _don't_ explicitly state that later "score" 
> commands will override previous (or stock) "score" commands, but it is 
> implied:
> 
>    If any of the score values are surrounded by parenthesis '()', then all
>    of the scores in the line are considered to be relative to the already
>    set score.

Ah, the hard way. ;)  That's useful, if you want to change the score
*relative* to the stock score, and thus change when the stock score
changes for whatever reason.

It is, however, not too easy to grasp and determine the resulting score.
If you just want to use a custom score, you can plain do it by over-
writing the existing score:

  score FOO  1.0

Keep those in local.cf or any dedicated cf file in your site config dir.
Do not edit the default or update files.

Also see man spamassassin, where the overwriting bit is mentioned.

  guenther


-- 
char *t="\10pse\0r\0dtu...@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}

Reply via email to