@lbutlr wrote:
On 2 Jul 2019, at 14:21, Kevin A. McGrail <kmcgr...@apache.org> wrote:
I guess the tl;dr version of my question (too late!) is how is the username
field populated in the database?
I think you are mixing up the user preference table and the naive bayesian
table. Apologies if the docs aren't clear. Please consider cleaning them up!
I can’t clean them up because I don’t understand them! 😃
The bayes readme says you need to have a user pref database setup first.
<https://svn.apache.org/repos/asf/spamassassin/branches/3.1/sql/README.bayes>
This assumes that you have already created a database for use with spamassassin and setup a
username/password that can access that database. (See "Creating A Database", in
"sql/README", if you don't have a suitable database ready.)
This refers the the SQL database username/password, not SA user data
within the database. You only need one user/password, although I
*think* if you're paranoid and willing to spend the time at it it's
possible to have separate SQL logins for different users, possibly even
complete separate databases for each user.
SA will fill in fields in the database as needed when messages are
learned; there's no need to maintain a list of your system/SA users. I
think you mentioned earlier you're using virtual users, not system
users, so you'll have to use the -u argument to sa-learn for manual
learning.
I'm not sure there's a better way to word that section.
-kgd