Hi,

>> > used instead.  You can verify which rules are being used by running this
>> > command:
>>
>> Is this order documented anywhere?
>
> man spamassassin

http://wiki.apache.org/spamassassin/FrontPage
"Internal Server Error"

Not sure what the deal is with that link, but the page you're
referring to appears to be this one:

http://spamassassin.apache.org/full/3.2.x/doc/spamassassin.html#configuration_files

Not sure how I missed that in the past, but it still doesn't say
anything different from what I said.

My sa-update rules are in /var/lib/spamassassin, which is not in the
search path according to the referenced link, yet "spamassassin --lint
-D" clearly shows it is being consulted:

[16288] dbg: config: using "/etc/mail/spamassassin" for site rules pre files
[16288] dbg: config: read file /etc/mail/spamassassin/init.pre
[16288] dbg: config: read file /etc/mail/spamassassin/v310.pre
[16288] dbg: config: read file /etc/mail/spamassassin/v312.pre
[16288] dbg: config: read file /etc/mail/spamassassin/v320.pre
[16288] dbg: config: using "/var/lib/spamassassin/3.002005" for sys
rules pre files
[16288] dbg: config: using "/var/lib/spamassassin/3.002005" for
default rules dir

None of these .pre files specify any path to any files.

The files "languages" and "user_prefs.template" are in
/usr/share/spamassassin, along with 10_default_prefs.cf, 72_scores.cf,
and about 50 other config files.

I did a simple test and it does now look like /usr/share/spamassassin
is the first directory consulted, as you said, and as I thought until
this incident. Not sure what could have happened, because I know I
restarted amavisd.

In any case, can I move the languages and user_prefs.template file to
/etc/mail/spamassassin and dump the whole /usr/share/spamassassin
directory, then?

Thanks,
Alex

Reply via email to