On Sat, 2014-07-26 at 23:29 +0100, [email protected] wrote:
> Thanks for the explanation. I feared as much.
> Not possible for me to modify hmail (not a C++ programmer). I could
> look at SA code and how to compile but would be a significant learning
> curve which I don't have time for right now. I'll just have to live
> with it for the time being.

So there are still two options left:  (a) A custom plugin providing a
modified score via Template Tag, which can be used as a drop-in
replacement of the stock _SCORE()_ template, and  (b) using a wrapper to
gently massage the Score header and drop the decimal dot.

No experience running spamd on Windows, but a quick goole'ing suggests
it does support (custom) plugins.

The plugin itself to provide a score multiplied by ten would be rather
simple.

The other option, a wrapper to modify the Score header, wouldn't be hard
either. Well, thinking in UNIX terms. A 'sed' one-liner would do. This
mostly depends on what tools you have available on Windows, and how
messages get passed.


-- 
char *t="\10pse\0r\0dtu\0.@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