I ran into the same problem.  All I had to do was set the
bayes_sql_override_username value in my local.cf and it took care of it
for me.  When I do a sa-learn [spam|ham], it loads in as the user I
specified in my local.cf.

Keith


> Hi all,
>
> I'm trying to implement SQL Bayes and I need a little help.  I have
> the bayes database set up and it does seem to work properly.  However,
> sa-learn seems to be placing the ham and spam into the database for
> the user the command is run as.  How do I override the username so
> that the ham/spam is applied to the proper user?
>
> I see the bayes_sql_override_username option, but how do I pass this
> dynamically on the command-line?
>
> I have been looking through the archives, but I haven't found the
> answer yet.  Any help would be appreciated!
>
> Thanks,
>
> --
> Jason 'XenoPhage' Frisvold
> [EMAIL PROTECTED]
>


Reply via email to