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 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.