When I first install SA, with...

cd Mail-SpamAssassin-*
perl Makefile.PL
make
make install

...all of the rule files (10_misc.cf, 20_advance_fee.cf, etc...) get installed 
in /usr/local/share/spamassassin/

However when I do sa-update, all of the updated rules go to 
/var/lib/spamassassin/3.001003/updates_spamassassin_org/, giving me two 
complete sets of rules in two different locations.

To get the updated rule files to go to the same location as the original rule 
files, I thought I would do "sa-update --updatedir 
/usr/local/share/spamassassin/".  But that didn't work either. It put the new 
rule files in /usr/local/share/spamassassin/updates_spamassassin_org/, so I 
still had two set of rules in two different locations.

Why doesn't the location of the rules directory default to the same place 
whether I am installing SA or using sa-update?

Second question - there are a couple of files that the original SA installation 
puts in /usr/local/share/spamassassin/ but sa-update does not put in 
/var/lib/spamassassin/....

user_prefs.template
triplets.txt
sa-update-pubkey.txt
languages

Does SA need any of these files, and will it miss them since it will load 
default configuration data from the /var/lib/spamassassin/... directory first?

(From the man page:

      Default configuration data is loaded from the first existing directory
      in:

      /var/lib/spamassassin/3.001003
      /usr/local/share/spamassassin
      /usr/local/share/spamassassin
      /usr/local/share/spamassassin
      /usr/share/spamassassin)

Thank you.


Greg

Reply via email to