MailScanner at ecs.soton.ac.uk
Tue Aug 25 16:07:48 IST 2009
On 25/08/2009 09:28, --[ UxBoD ]-- wrote:
> ----- "Michael Mansour"<micoots at yahoo.com> wrote:
> | Hi,
> | I have just implemented this:
> | http://spamassassin.apache.org/full/3.2.x/doc/Mail_SpamAssassin_Plugin_Rule2XSBody.html
> | to use sa-compile to compile the rulesets and speed up SA.
> | Now I have sa-update cron'ed to run periodically, is sa-update clever
> | enough to realise that this SA plugin is being used and to then run
> | sa-compile on it's own? or must I now manually setup another cron job
> | to compile the new rules downloaded by sa-update after they are
> | updated?
> | Thanks.
> | Michael.
> Why not put the sa-update in a script, under /usr/local/bin, and add sa-compile to the end of it. You can then call that via cron.
You can use my update_spamassassin which you will find in /usr/sbin if I
remember correctly, which will call sa-compile and everything for you.
Just install "re2c" from rpmforge so you have the tool it will need.
You may well find this is already in your /etc/cron.hourly or
/etc/cron.daily so it's being run for you.
Julian Field MEng CITP CEng
Buy the MailScanner book at www.MailScanner.info/store
Need help customising MailScanner?
Need help fixing or optimising your systems?
Need help getting you started solving new requirements from your boss?
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at twitter.com/JulesFM and twitter.com/MailScanner
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the MailScanner