You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Justin Mason <jm...@jmason.org> on 2007/08/02 20:07:15 UTC

Re: which 'other' rules can/should be sa-compiled?

snowcrash+sa writes:
> i currently use a cron job to
> 
>   sa-update --channelfile /usr/local/etc/sa/update-DIST-ch.conf
>   sa-update --channelfile /usr/local/etc/sa/update-SARE-ch.conf
> 
> pulling updates, as available, into my system-wide rules update directory.
> 
> if updates exist, then i compile them,
> 
> 	sa-compile --sudo -D
> 
> resulting in compiled rules that override the non-compiled distro'd files.
> 
> works fine here.  and, i /think/ is the generally intended (?)
> behavior of sa-compile'ing.

yep.

> question:
> 
> 	any reason NOT to ALSO compile other, non-SA/SARE rules?
> 
> e.g., FuzzyOcr could benefit from a performance boost.  just not clear
> to me if it can be compiled, or benefit if it does.

basically, only body regexp rules:

    body FOO /bar/

can be compiled.  FuzzyOcr doesn't work that way....

--j.

Re: which 'other' rules can/should be sa-compiled?

Posted by snowcrash+sa <sc...@gmail.com>.
got it.

rats!, nonetheless...

thx!