joea at j4computers
Apr 24, 2012, 7:11 PM
Post #3 of 4
>>> On 4/24/2012 at 2:49 PM, Bowie Bailey <Bowie_Bailey [at] BUC> wrote:
> On 4/24/2012 2:38 PM, joea wrote:
>> When using a script to help automate submission to sa-learn, learned (so to
> speak) thru the kindness of others, that there
>> are different results when querying sa-learn for tokens, as different users.
>> The script runs as "script-user" while I normally query as "root". I
> puzzled over why the script appeared to be working
>> fine, yet the tokens did not increase. Different users. I presume this
> means diffferent Bayes db's?
>> Assuming that is correct, my question is . . . should I care? Will
> spamassassin (spamd in this case) use Bayes with db's
>> "conjoined" when processing mail? OR apply only that for the owning user?
> No, Bayes will only use the db for the current user. You will need to
> either change your script to sa-learn as the proper user, or switch to a
> global db.
I'm not finding a way to set global. Not using mySQL. Maybe it's a bit late to be doing this.