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