I see, thanks. I had actually already done that, but didn't know it would
change all calls.

Now if an account has SpamAssassin off, will it still be active because
local.cf is being used? Or do I have to manually enable SpamAssassin on each
account?


Matt Kettler-3 wrote:
> 
> HDG wrote:
>> We are a webhost (using WHM) and each time a new account is created,
>> required_hits is set to 5 and SpamAssassin is turned off. How can I
>> change
>> it so SpamAssassin is set on by default and required_hits to 10?
>>   
> You really don't want to change the default, you want to make a
> site-wide change, see below. Changing the defaults would result in you
> needing to re-do the change every time you upgrade SA, and possibly
> every time you run sa-update.
>> Also, how can I update every account's required_hits to 10?
>>   
> Add required_hits 10 to your local.cf. (or any other *.cf file in your
> site rules directory). This will affect any call to SA on the entire
> system.
> 
> By default the site rules directory is /etc/mail/spamassassin. (note: it
> is NOT /usr/share/spamassassin or /var/lib/spamassassin.. those are
> various forms of the default rules directory).
> 
> You can check for sure by running "spamassassin --lint -D" and look for
> a debug line like this one, which will be sorta near the top:
> 
>  dbg: config: using "/etc/mail/spamassassin" for site rules dir
> 
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Update-default-settings--tf4142574.html#a11784194
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Reply via email to