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?

Exactly.

> 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.

-- 
Bowie

Reply via email to