You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Stuart Johnston <st...@ebby.com> on 2006/08/03 18:47:58 UTC

Re: [AMaViS-user] sa-update (sa v 3.1.4)

Gary V wrote:
> Mark wrote:
> 
>> Theo,
> 
>>>> to change Mail::SpamAssassin to provide a suitable default
>>>> for LOCAL_STATE_DIR. Please consider this a feature request.
>>> http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4952  :)
> 
>> Appreciated!
> 
>>>>     # sa-update --updatedir /usr/local/share/spamassassin
>>> Warning: This will break your installation -- there are files in
>>> def_rules_dir that aren't in the updates, and sa-update will be
>>> happy to delete all of the files in the directory for you.
>>> local_state_dir and def_rules_dir are not interchangeable.
> 
>> Ouch, thanks. Sorry for spreading false suggestions.
> 
>>   Mark
> 
> Observation and questions:
> 
> I though the rules provided with sa-update were additions to existing
> rules, but I guess I have not paid much attention. Is it true then
> that the rules downloaded through sa-update are a complete rule set in
> themselves?

I'm a little confused about this as well.  When I run spamassassin -D, it shows rules being loaded 
from /var/lib/spamassassin/3.001003 and /etc/mail/spamassassin but NOT /usr/share/spamassassin/

Also, doing a diff I don't see any rules that are in /usr/share/spamassassin/ but not in 
/var/lib/spamassassin/3.001003.  There are a few extra files though, [languages, 
sa-update-pubkey.txt, triplets.txt, user_prefs.template].  I suppose you probably don't want those 
to get deleted.

Re: [AMaViS-user] sa-update (sa v 3.1.4)

Posted by Theo Van Dinter <fe...@apache.org>.
On Thu, Aug 03, 2006 at 11:47:58AM -0500, Stuart Johnston wrote:
> I'm a little confused about this as well.  When I run spamassassin -D, it 
> shows rules being loaded from /var/lib/spamassassin/3.001003 and 
> /etc/mail/spamassassin but NOT /usr/share/spamassassin/

That sounds correct.

> Also, doing a diff I don't see any rules that are in 
> /usr/share/spamassassin/ but not in /var/lib/spamassassin/3.001003.

There are definitely differences between the files in the directories, though
at the moment most of the new rules are in a new 80_additional.cf file.
Perhaps you didn't use "diff -N" ? :)

-- 
Randomly Generated Tagline:
(Beeeep) Syntax Error! - My reality check just cleared.