OpenMacNews wrote:
i've SA 317 installed on OSX 10.4.8.
i currently use RDJ to update SARE rules w/o error.
i use sa-update w/ channel=updates.spamassassin.org, also w/o error.
i'm switching to SARE updates via sa-update & DOS's channels.
on exec of sa-update + SARE channels, i get multiple errors (warnings?)
of kind:
"Subroutine ... redefined at ..."
again, i see no such errors with RDJ updates.
QUESTION:
are these errors, in fact, a problem?
if so, what/how needs fixing?
thanks.
verbose details follow here:
after a clean install of SA 317, my DATADIR ((...)/SA/Dist/) contains:
What's this "DATADIR"? Are you referring to what would normally be
something like /var/lib/spamassassin/ ?
10_misc.cf 23_bayes.cf 30_text_fr.cf
20_advance_fee.cf 25_accessdb.cf 30_text_it.cf
20_anti_ratware.cf 25_antivirus.cf 30_text_nl.cf
20_body_tests.cf 25_body_tests_es.cf 30_text_pl.cf
20_compensate.cf 25_body_tests_pl.cf 30_text_pt_br.cf
20_dnsbl_tests.cf 25_dcc.cf 50_scores.cf
20_drugs.cf 25_dkim.cf 60_awl.cf
20_fake_helo_tests.cf 25_domainkeys.cf 60_whitelist.cf
20_head_tests.cf 25_hashcash.cf 60_whitelist_dk.cf
20_html_tests.cf 25_pyzor.cf 60_whitelist_dkim.cf
20_meta_tests.cf 25_razor2.cf 60_whitelist_spf.cf
20_net_tests.cf 25_replace.cf 60_whitelist_subject.cf
20_phrases.cf 25_spf.cf languages
20_porn.cf 25_textcat.cf sa-update-pubkey.txt
20_ratware.cf 25_uribl.cf triplets.txt
20_uri_tests.cf 30_text_de.cf user_prefs.template
when i execute:
sa-update \
--channelfile (...)/SA/sa-update-channels.txt \
--updatedir (...)/SA/Dist \
--gpgkey 856AA88A
i get @ console:
Subroutine __HAS_RCVD_head_test redefined at
/tmp/.spamassassin11389WRDnhPtmp/200510301100.cf, rule __HAS_RCVD, line 6.
Since, for some unknown reason, you're using an --updatedir that already
has a bunch of rules in it you've now got two copies of the rulesets in
the same directory that you are trying load. Not good.
Either don't try to override the --updatedir, or make sure that whatever
your "DATADIR" is (what should be something like /usr/share/spamassassin
maybe?) isn't the same as your --updatedir (which would normally be
/var/lib/spamassassin).
after this update, my DATADIR ((...)/SA/Dist/) contains:
10_misc.cf
20_advance_fee.cf
20_anti_ratware.cf
20_body_tests.cf
20_compensate.cf
20_dnsbl_tests.cf
20_drugs.cf
20_fake_helo_tests.cf
20_head_tests.cf
20_html_tests.cf
20_meta_tests.cf
20_net_tests.cf
20_phrases.cf
20_porn.cf
20_ratware.cf
20_uri_tests.cf
23_bayes.cf
25_accessdb.cf
25_antivirus.cf
25_body_tests_es.cf
25_body_tests_pl.cf
25_dcc.cf
25_dkim.cf
25_domainkeys.cf
25_hashcash.cf
25_pyzor.cf
25_razor2.cf
25_replace.cf
25_spf.cf
25_textcat.cf
25_uribl.cf
30_text_de.cf
30_text_fr.cf
30_text_it.cf
30_text_nl.cf
30_text_pl.cf
30_text_pt_br.cf
50_scores.cf
60_awl.cf
60_whitelist.cf
60_whitelist_dk.cf
60_whitelist_dkim.cf
60_whitelist_spf.cf
60_whitelist_subject.cf
70_sare_adult_cf_sare_sa-update_dostech_net/
70_sare_adult_cf_sare_sa-update_dostech_net.cf
70_sare_bayes_poison_nxm_cf_sare_sa-update_dostech_net/
70_sare_bayes_poison_nxm_cf_sare_sa-update_dostech_net.cf
70_sare_evilnum0_cf_sare_sa-update_dostech_net/
70_sare_evilnum0_cf_sare_sa-update_dostech_net.cf
70_sare_evilnum1_cf_sare_sa-update_dostech_net/
70_sare_evilnum1_cf_sare_sa-update_dostech_net.cf
70_sare_genlsubj_cf_sare_sa-update_dostech_net/
70_sare_genlsubj_cf_sare_sa-update_dostech_net.cf
70_sare_genlsubj_eng_cf_sare_sa-update_dostech_net/
70_sare_genlsubj_eng_cf_sare_sa-update_dostech_net.cf
70_sare_header_cf_sare_sa-update_dostech_net/
70_sare_header_cf_sare_sa-update_dostech_net.cf
70_sare_header_eng_cf_sare_sa-update_dostech_net/
70_sare_header_eng_cf_sare_sa-update_dostech_net.cf
70_sare_html_cf_sare_sa-update_dostech_net/
70_sare_html_cf_sare_sa-update_dostech_net.cf
70_sare_obfu_cf_sare_sa-update_dostech_net/
70_sare_obfu_cf_sare_sa-update_dostech_net.cf
70_sare_oem_cf_sare_sa-update_dostech_net/
70_sare_oem_cf_sare_sa-update_dostech_net.cf
70_sare_random_cf_sare_sa-update_dostech_net/
70_sare_random_cf_sare_sa-update_dostech_net.cf
70_sare_specific_cf_sare_sa-update_dostech_net/
70_sare_specific_cf_sare_sa-update_dostech_net.cf
70_sare_spoof_cf_sare_sa-update_dostech_net/
70_sare_spoof_cf_sare_sa-update_dostech_net.cf
70_sare_stocks_cf_sare_sa-update_dostech_net/
70_sare_stocks_cf_sare_sa-update_dostech_net.cf
70_sare_unsub_cf_sare_sa-update_dostech_net/
70_sare_unsub_cf_sare_sa-update_dostech_net.cf
70_sare_uri_cf_sare_sa-update_dostech_net/
70_sare_uri_cf_sare_sa-update_dostech_net.cf
70_sc_top200_cf_sare_sa-update_dostech_net/
70_sc_top200_cf_sare_sa-update_dostech_net.cf
72_sare_bml_post25x_cf_sare_sa-update_dostech_net/
72_sare_bml_post25x_cf_sare_sa-update_dostech_net.cf
72_sare_redirect_post3_0_0_cf_sare_sa-update_dostech_net/
72_sare_redirect_post3_0_0_cf_sare_sa-update_dostech_net.cf
99_sare_fraud_post25x_cf_sare_sa-update_dostech_net/
99_sare_fraud_post25x_cf_sare_sa-update_dostech_net.cf
languages
sa-update-pubkey.txt
triplets.txt
updates_spamassassin_org/
updates_spamassassin_org.cf
updates_spamassassin_org.pre
user_prefs.template
which, i think, is what I should expect.
No, not at all. There should be no "plain" ruleset files in the
directory that contains all of the channel directories and .cf files.
Daryl