On Thu, 2008-04-03 at 21:38 -0400, Caleb Cushing wrote: > On Thursday 03 April 2008 07:44:04 pm Karsten Bräckelmann wrote: > > Yes, you have -- by calling spamassassin with he -L switch. See my > > previous post. > > I'll have to check and see why kmail has that as the default. enabling RBL's > doesn't have to query them everytime does it? meaning does it cache them.
KMail probably does this by default, because it speeds up the checks. SA isn't suited best for client side after-download calling by filters. Anyway, I wouldn't worry about the added delay of querying RBLs for each message. You are calling *spamassassin* in your filter, so the real penalty is the startup time and CPU load here -- for each single message. Using the lightweight spamc client with spamd daemon instead will decrease the load and scanning time significantly. After all, the RBL tests pretty much add a few seconds of idle waiting only, no CPU load. 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; }}}