You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Kenneth Porter <sh...@sewingwitch.com> on 2018/10/11 05:41:48 UTC

sa-compile after sa-update

I'm experimenting with the Rule2XSBody plugin and I've figured out that I 
have to run sa-compile after sa-update to create the compiled versions of 
local rules. I don't see anything in either sa-update or the Red 
Hat-supplied sa-update.cronscript invoked from cron (or a systemd timer) 
that invokes sa-compile. Where the logical place to hook this? (It should 
only be invoked if the plugin is loaded in /etc/mail/spamassassin 
somewhere.) Should I open an enhancement request against Red Hat's package? 
What are other distros doing with sa-compile? 

Re: sa-compile after sa-update

Posted by Kenneth Porter <sh...@sewingwitch.com>.
An RH bug was opened and closed on this in 2014:

https://bugzilla.redhat.com/show_bug.cgi?id=1151565

I attached a patch to the bug for the latest sa-update.cron script from 
the 3.4.2 RPM to invoke sa-compile if the plugin is enabled and re2c is 
installed.