On Fri, 2 Sep 2016 08:27:16 -0700 (PDT)
John Hardin wrote:

> On Thu, 1 Sep 2016, David Niklas wrote:
> 
> > I run sa-update but I want to know if any additional configuration
> > is needed to tell sa that I want it to use the rules.  
> 
> You need to check the return status of sa-update to see whether the
> rules were successfully updated, and if so, restart spamd or amavis
> or whatever is using the rules.
> 
> Question for others: if you're using compiled rules does the compiler
> need to be run explicitly, or is that automatic?

It's not automatic, although some packages may install a periodic script
to make it so.

I think the case for running sa-compile after every update is greatly
overstated. It's much more important to update and compile after a
software version update because the rules and compiled rules are in
versioned directories.  If you then stop running sa-compile, all that
happens is that a relatively small number of new and updated rules run
a bit slower in perl. 

Running sa-compile gratuitously doesn't make much difference on most
modern hardware, but it may do  on something like a single-core
Raspberry Pi. I remember on a single core Athlon, it was 30 minutes of
100% cpu usage.

Reply via email to