On Wed, 6 Dec 2006, Duane Hill wrote:
Thomas Bolioli wrote:
when I run sa-update it puts new copies of the tests in
/var/lib/spamassassin/3.001005/updates_spamassassin_org which I understand
from the docs is the correct location. However, the default tests remain in
/usr/share/spamassassin/ and I believe they are still being used. How is
this supposed to work? Am I supposed to manually move them into /usr/share?
I do not see any reference to the updated tests in the cf files anywhere.
Tom
SA reads the .cf and .pre files from the /var/lib/spamassassin/<version>
directory. You should notice there is a updates_spamassassin.cf and a .pre
Not on my system. I'm running 3.1.7 and it seems to be working just fine
with init.pre in /etc/mail/spamassassin and no updates_spamassassin.cf at
all AFAICS. The distribution rules are in /usr/local/share/spamassassin.
I don't think this is news to anyone and I'm not reporting a problem,
just reacting to the statement "SA reads the .cf and .pre files from
the /var/lib/spamassassin/<version>" which I assume must be platform
dependent".
within that directory. If you look within the .cf file, it will list all
rules within the updates_spamassassin.org directory. That is how SA loads
those rules up. It is my guess those rules take priority over the default set
that is installed in /usr/share or /usr/local/share. Someone please correct
me if I am wrong on this assumption.
You should not need to move the rules within /var/lib/spamassassin/<version>
directory to any other location.
"/var/lib" doesn't even exist on my system (Sun Solaris 8).
- rick