Diverting from the original question...

> Spamassassin is now down to  *ONLY* 45% of cpu or thereabouts...

Use spamc/spamd!

According to your OP, you are calling spamassassin, forking a new
heavy-weight process for each mail. This comes with a considerable
start-up penalty. You can get rid of this and lower your machines load,
for trading off some memory.

> .... they get a LOT of spam :-)

Probably not. ;)  With a lot of spam, using spamassassin rather than
spamd would fry your server.

IMHO, anyone who feels the need for SA (as opposed to some small-scale,
usually Bayes-only client side filtering) also needs a more
sophisticated method than plain 'spamassassin' calling per mail.

  guenther


-- 
char *t="[EMAIL PROTECTED]";
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