I'm going to implement mail gateway with FreeBSD 10.1. So, I installed Postfix, Amavisd, Clamav, Spamassassin, Procmail (for filtering spam from maildir to spam folder), Bayes with Redis database. I have config them to work together. It can work well as root user.
My point is how to config user_prefs individually per user, so that Spamassassin can learn based on different users. (e.g. different whitelist). And also storing those user preferences in Redis database.
p.s. So far, I haven't found a tutorial on Redis other than official documentation (which doesn't help so much). And I'm not clear on sa-learn per user very well. I really appreciate good tutorial of explanation in this.
Thank you in advance.