On Thu, Dec 04, 2008 at 09:49:23AM +1300, Lists wrote:
> Hi all,
>
> I am wanting to implement the sanesecurity addins to clamav but i am a  
> bit lost.
> I am running CentOS5 MailScanner Spamassassin ClamAV
>
> Do I download the download scripts from  
> http://www.sanesecurity.com/clamav/usage.htm
> or do I go to the downloads page? (they seem to be different)
>
> Once I have downloaded them I rename them to .sh then I run it and it  
> installs itself including the cron job?
>
> Is this correct - I feel I may be missing a few things.
>
> Thanks
> Kate

The best thing to do is to download the script, put it somewhere where
the user that will run it (possibly "clamav") has read + execute access,
(I created a /home/clamav/ directory) and then try running it manually
first. If it works it will download the extra files need by Clamav for
the spam and phishing sigs.

If the manual run works without errors, then add it to your (root's)
crontab (unless you want to put in cron.daily).

# crontab -e
[puts you into your default editor - in my case vim - if you have vim
too do the following - otherwise you'll have to find out how your editor
works]
i 
[to go into insert mode]
17 2 * * * /home/clamav/update_sanesecurity.sh
[this creates a cron job that will run at 17 minutes past 2 every night]
press Escape and then 
:wq
[ie colon then w(rite) and q(uit) - this saves the crontab file]

You should now be all set to receive daily SaneSecurity updates...

HTH

AD

Attachment: pgpi0uiQtSwvm.pgp
Description: PGP signature

Reply via email to