J Thomas Hancock wrote on Thu, 4 Nov 2004 15:21:15 -0600:

> It is my understanding that /usr/share/spamassassin should only contain the 
> default filters that come with SA and /etc/mail/spamassassin should only 
> contain custom filters. 

correct. They are not really filters, though, but "rules".

 Based on that, there should be no need to have the 
> same filter in each directory, correct?  If you have a filter in each 
> directory, you are performing those tests twice, which inflates your score 
> and increases your scan time.

/usr/share/spamassassin contains the "built-in" set, don't touch it. You *add* 
custom rules in /etc/mail/spamassassin and you configure SA with local.cf in 
that dir. You can also override scores of the default rules with scores in 
/etc/mail/spamassassin. So, don't view them as exclusive, they complement and 
override each other.
 
>  
> The reason I ask this is because I can not get razor to work unless 
> 20_body_tests.cf is located in /etc/mail/spamassassin.

I can't say anything about Razor, we don't use it. But this file doesn't 
belong there.

 Perhaps I got a 
> config file pointing to a wrong directory or I have my filters confused.
>

You can use spamassassin -D to check which files and paths are getting used.


Kai

-- 

Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com
IE-Center: http://ie5.de & http://msie.winware.org



Reply via email to