You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Rodney Baker <ro...@iinet.net.au> on 2017/12/15 12:47:23 UTC

Compiled rulesets and sa-update

Hi all. I run compiled rulesets on my home mail server (which runs on a Raspberry 
Pi), which I found necessary to reduce CPU utilisation when it was running on a 
Raspberry Pi model A (it worked, but it's now on a RasPi 3 which is much better). Do I 
need to run sa-compile after every sa-update run? 

Regards,
Rodney.

-- 
==============================================================
Rodney Baker VK5ZTV
rodney.baker@iinet.net.au
CCNA #CSCO12880208
==============================================================

Re: Compiled rulesets and sa-update

Posted by "Kevin A. McGrail" <ke...@mcgrail.com>.
On 12/15/2017 7:47 AM, Rodney Baker wrote:
>
> Hi all. I run compiled rulesets on my home mail server (which runs on 
> a Raspberry Pi), which I found necessary to reduce CPU utilisation 
> when it was running on a Raspberry Pi model A (it worked, but it's now 
> on a RasPi 3 which is much better). Do I need to run sa-compile after 
> every sa-update run?
>
Hi Rodney, you'll want to join the mailing list for any future emails.  
I moderated you through and bcc'd you so you would get the response.

sa-update changes the rules so if you don't compile the new rules, I am 
not sure if you will use the new set uncompiled or the old set 
compiled.  So the short answer is, yes, compile the rules any time they 
change :-)

regards,
KAM

Re: Compiled rulesets and sa-update

Posted by RW <rw...@googlemail.com>.
On Fri, 15 Dec 2017 23:17:23 +1030
Rodney Baker wrote:

> Hi all. I run compiled rulesets on my home mail server (which runs on
> a Raspberry Pi), which I found necessary to reduce CPU utilisation
> when it was running on a Raspberry Pi model A (it worked, but it's
> now on a RasPi 3 which is much better). Do I need to run sa-compile
> after every sa-update run?

Not if it's a problem. In my experience you still pick-up new and
modified rules, they just get run under perl instead.