You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Benjamin Adams <ba...@ambrosiasw.com> on 2006/03/31 20:17:38 UTC

Can someone check my local.cf

I just updated from 3.1.0 to 3.1.1
I'm going to use the same local.cf

bayes_auto_learn        1
bayes_file_mode         0774
bayes_path              /var/mail/spamassassin/bayes
bayes_auto_expire 0
# Safe Reporting
report_safe             1
use_dcc                 1
dcc_timeout             10
use_razor2              1
use_pyzor               1
rewrite_header Subject ****SPAM****
# Rewrite the Subject
skip_rbl_checks         0
# Use Bayesian Filtering
use_bayes               1
use_bayes_rules         1
bayes_learn_during_report 1
# OK locals
ok_locales en
# OK languages
ok_languages en fr de
# Required hits to be marked as spam
# Add Header
add_header all Flag _YESNOCAPS_
add_header all Status _YESNO_, hits=_HITS_ required=_REQD_  
tests=_TESTS_ autolearn=_AUTOLEARN_ version=_VERSION_
add_header all Level _STARS(*)_
add_header all Checker-Version SpamAssassin _VERSION_ (_SUBVERSION_)  
on _HOSTNAME_

Will everything work the same?
Thanks for the help


Benjamin Adams / Lord of the Root / Ambrosia Software, Inc. -- http:// 
www.AmbrosiaSW.com




Re: Can someone check my local.cf

Posted by Matt Kettler <mk...@comcast.net>.
Benjamin Adams wrote:
> I just updated from 3.1.0 to 3.1.1
> I'm going to use the same local.cf
>
> bayes_auto_learn        1
> bayes_file_mode         0774
Are you sure you want 0774?  In general the only sensible options when
using bayes_path are 0700, 0770, or 0777. And the first two require that
you restrict all calls to SA to a single user, or group.

Read-only access to the bayes DB will effectively disable autolearning
for any user not in the UID/GID that created the bayes DB.
> bayes_path              /var/mail/spamassassin/bayes
> bayes_auto_expire 0
I assume you run sa-learn --expire from a cronjob with that setting?
> # Safe Reporting
> report_safe             1
> use_dcc                 1
> dcc_timeout             10
> use_razor2              1
> use_pyzor               1 

Someone else mentioned the languages bit.. However, it should also be
noted that DCC and Razor are both plugins in SA 3.1.0 as well. They're
also both NOT loaded by default (due to licensing that isn't 100% free,
although razor has recently changed to be free again.)

See v310.pre, which the installer should drop in your site-rules-dir
(ie: /etc/mail/spamassassin)

Re: Can someone check my local.cf

Posted by Marco Maske <ma...@netcologne.de>.
Benjamin Adams wrote:
> I just updated from 3.1.0 to 3.1.1
> I'm going to use the same local.cf

...
> # OK languages
> ok_languages en fr de

ok_languages is realised by Plugin since 3.1.0
see Upgrade File and this List

Ciao Marco.

-- 
Sie brauchen einen Computer nicht einzuschalten um festzustellen,
ob Windows installiert ist. Sehen Sie einfach nach, ob die
Aufschrift auf der Reset-Taste noch lesbar ist.
		-- Daniel Lord, in suse-linux@suse.com