On Jun 27, 2008, at 9:47 AM, Rocco Scappatura wrote:

I lauch every night:

sa-update && rcamavisd restart

I'ld like to do so also 'sought ruleset' will be installed in the
future. Is there a way to do so?

To add other rule sets, you need a few parameters to sa-update. Here is how I do it:

sa-update --channelfile /root/sare-sa-update-channels.txt --gpgkey 856AA88A && /usr/local/etc/rc.d/amavisd restart

Where the key 856AA88A is for the SARE rules. The sare-sa-update- channels.txt file is this:

--cut here--
# sa-update --channelfile sare-sa-update-channels.txt --gpgkey 856AA88A
# see also http://wiki.apache.org/spamassassin/SareChannels
updates.spamassassin.org
70_sare_adult.cf.sare.sa-update.dostech.net
70_sare_evilnum0.cf.sare.sa-update.dostech.net
70_sare_evilnum1.cf.sare.sa-update.dostech.net
70_sare_genlsubj0.cf.sare.sa-update.dostech.net
70_sare_genlsubj1.cf.sare.sa-update.dostech.net
70_sare_header_0.cf.sare.sa-update.dostech.net
70_sare_header_1.cf.sare.sa-update.dostech.net
70_sare_html0.cf.sare.sa-update.dostech.net
70_sare_html1.cf.sare.sa-update.dostech.net
70_sare_obfu0.cf.sare.sa-update.dostech.net
70_sare_obfu1.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_specific.cf.sare.sa-update.dostech.net
70_sare_spoof.cf.sare.sa-update.dostech.net
70_sare_stocks.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_uri1.cf.sare.sa-update.dostech.net
72_sare_redirect_post3.0.0.cf.sare.sa-update.dostech.net
99_sare_fraud_post25x.cf.sare.sa-update.dostech.net
--cut here--


So I get the spam assassin updates and SARE rules I want.

If you want to add the sought rules, just add the necessary parts to the file and command line.

Reply via email to