Topic: SA-Bayes and separate user tokens
==== Required information ====
- iRedMail version: 0.8.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Debian 7.4
- Related log if you're reporting an issue: null
====
Hi guys,
I have question about SA Bayes. I've successfully run IRedMail/FAQ/Store.SpamAssassin.Bayes.In.SQL. Now I want to know how this process works deeper for more users. Every reported spam via Roundcube is saved to DB in form of tokens. Table bayes_vars shows summary of spam, ham and what interests me is user (vmail). Does SA classify spam or ham by user? In this case vmail (global)? What happens if I comment out in /etc/spamassassin/local.cf bayes_sql_override_username vmail? Now every new reported mail will belong to each user and DB table bayes_vars add new user and keep his own settings? Or it just SpamAssasin do not care which user has saved tokens in DB and keep this rules global?
So my main question is how to keep separated tokens by reported users. Because somebody can add to global catalog vmail ham email and it's bad.
I'll be glad for clarification.
Thank you.
Michael
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.