On Friday 27 June 2008 12:02 pm, Vivek Khera wrote:
> On Jun 27, 2008, at 12:45 PM, Rocco Scappatura wrote:
> > sa-update && rcamavisd restart
> >
> > also the ruleset listed in sought_rules_yerp_org.cf will be updated..
> > Right?
>
> you need to pass the parameters to sa-update each time to tell it the
> file listing all rule sets you want updated, and the GPG keys to accept.

Here's my command line for updates to SA, SARE and sought rulesets:

/usr/bin/sa-update -D 
--channelfile /etc/mail/spamassassin/sare-sa-update-channels.txt --gpgkey 
6C6191E3 --gpgkey 856AA88A && /sbin/service spamassassin restart 

Note: -D is included so that I can see the actual cronjob output sent to me. 
My sare-sa-update-channels.txt file looks like this:

updates.spamassassin.org
sought.rules.yerp.org
70_sare_adult.cf.sare.sa-update.dostech.net
70_zmi_german.cf.zmi.sa-update.dostech.net
99_sare_fraud_post25x.cf.sare.sa-update.dostech.net
72_sare_bml_post25x.cf.sare.sa-update.dostech.net
70_sare_spoof.cf.sare.sa-update.dostech.net
70_sare_bayes_poison_nxm.cf.sare.sa-update.dostech.net
70_sare_oem.cf.sare.sa-update.dostech.net
70_sare_random.cf.sare.sa-update.dostech.net
70_sare_html0.cf.sare.sa-update.dostech.net
70_sare_whitelist_rcvd.cf.sare.sa-update.dostech.net
70_sare_whitelist_spf.cf.sare.sa-update.dostech.net
70_sare_stocks.cf.sare.sa-update.dostech.net
72_sare_redirect_post3.0.0.cf.sare.sa-update.dostech.net
70_sare_header0.cf.sare.sa-update.dostech.net
70_sare_specific.cf.sare.sa-update.dostech.net
70_sare_highrisk.cf.sare.sa-update.dostech.net
70_sare_unsub.cf.sare.sa-update.dostech.net
70_sare_uri0.cf.sare.sa-update.dostech.net
70_sare_evilnum0.cf.sare.sa-update.dostech.net
70_sare_genlsubj0.cf.sare.sa-update.dostech.net
70_sare_obfu0.cf.sare.sa-update.dostech.net
72_sare_redirect_post3.0.0.cf.sare.sa-update.dostech.net
72_sare_bml_post25x.cf.sare.sa-update.dostech.net
70_sc_top200.cf.sare.sa-update.dostech.net

-- 
Chris
KeyID 0xE372A7DA98E6705C

Attachment: pgpHWMz2PKpmN.pgp
Description: PGP signature

Reply via email to