From owner-freebsd-questions@FreeBSD.ORG Tue Mar 9 11:01:11 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFEA416A4CE for ; Tue, 9 Mar 2004 11:01:11 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id A48AE43D39 for ; Tue, 9 Mar 2004 11:01:11 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i29J1Agc037957; Tue, 9 Mar 2004 13:01:10 -0600 (CST) (envelope-from dan) Date: Tue, 9 Mar 2004 13:01:10 -0600 From: Dan Nelson To: zazoo@iname.com Message-ID: <20040309190110.GE95503@dan.emsphone.com> References: <20040309184315.78594.qmail@web12309.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040309184315.78594.qmail@web12309.mail.yahoo.com> X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: freebsd-questions@freebsd.org Subject: Re: Spamassassin: sa-learn scope question ?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2004 19:01:12 -0000 In the last episode (Mar 09), Pat said: > I was wondering exactly what the scope is on sa-learn. > what i mean by this is: > if i run sa-learn as root, does it get applied to the > global spam-assassin ruleset or only for my user? > > do all my users need to run sa-learn on their spam/ham > files or does it affect everyone if only I do it? It's an either-or thing. You can't have both a private and a public bayes db. By default, every user has a private bayes database, in ~/.spamassassin. If you want them to share a common one, add something like this to your local.cf: # Note this is a basename, not a path bayes_path /usr/tmp/spamassassin/bayes bayes_file_mode 0777 , which will tell spamassassin to use files in /usr/tmp/spamassassin (or pick some other directory writable by everyone), and to create the files so that everyone can update them. -- Dan Nelson dnelson@allantgroup.com